scripts and doc updated
This commit is contained in:
@@ -86,12 +86,12 @@ and programs.
|
|||||||
|
|
||||||
- **General dependencies**
|
- **General dependencies**
|
||||||
|
|
||||||
You can use [utils/install.sh](./utils/install.sh) in order to install dependencies. First
|
You can use [utils/install_deb.sh](./utils/install_deb.sh) in order to install dependencies. First
|
||||||
read and understand the script then execute it. Type your password if
|
read and understand the script then execute it. Type your password if
|
||||||
required.
|
required.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ bash install.sh
|
$ bash install_deb.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
- **SystemC 2.3.1 and TLM 2.0**
|
- **SystemC 2.3.1 and TLM 2.0**
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ sudo apt-get -y install clang-format
|
|||||||
```
|
```
|
||||||
|
|
||||||
**Hint:**
|
**Hint:**
|
||||||
You can use [install.sh](./utils/install.sh) in order to install dependencies.
|
You can use [install_deb.sh](./utils/install_deb.sh) in order to install dependencies.
|
||||||
First read and understand the script then execute it. Type your password if
|
First read and understand the script then execute it. Type your password if
|
||||||
required.
|
required.
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ dest=$HOME/qwt-6.1
|
|||||||
svn checkout svn://svn.code.sf.net/p/qwt/code/branches/qwt-6.1 $dest
|
svn checkout svn://svn.code.sf.net/p/qwt/code/branches/qwt-6.1 $dest
|
||||||
cd $dest
|
cd $dest
|
||||||
qmake qwt.pro
|
qmake qwt.pro
|
||||||
|
svn up -r 2481
|
||||||
make
|
make
|
||||||
|
|
||||||
# Add env. variables to ~/.bashrc
|
# Add env. variables to ~/.bashrc
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright (c) 2017, University of Kaiserslautern
|
# Copyright (c) 2018, University of Kaiserslautern
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -30,31 +30,42 @@
|
|||||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
# Author: Shama Bhosale
|
# Author: Éder F. Zulian
|
||||||
|
|
||||||
|
# Check distro. This script supports Debian/Ubuntu
|
||||||
## Install the newest versions of all packages currently installed on the system
|
distro=`lsb_release -a | grep "Distributor ID:" | awk {'print $3'}`
|
||||||
|
if [ "$distro" != "Debian" ] && [ "$distro" != "Ubuntu" ]; then
|
||||||
|
echo -e "Error unsupported distribution (${distro}). This script supports Debian/Ubuntu." 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
# Ensure the newest versions of all packages currently installed
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get upgrade
|
sudo apt-get upgrade
|
||||||
|
# Required dependencies
|
||||||
## Installing required dependencies
|
deplist="
|
||||||
sudo apt-get -y install gitk
|
gitk
|
||||||
sudo apt-get -y install synaptic
|
synaptic
|
||||||
sudo apt-get -y install subversion
|
subversion
|
||||||
sudo apt-get -y install locate
|
locate
|
||||||
sudo apt-get -y install qt4-qmake libqt4-dev
|
qt4-qmake
|
||||||
sudo apt-get -y install python3.5
|
libqt4-dev
|
||||||
sudo apt-get -y install python3.5-dev
|
python3.5
|
||||||
sudo apt-get -y install libc6
|
python3.5-dev
|
||||||
sudo apt-get -y install libstdc++6
|
libc6
|
||||||
sudo apt-get -y install sqlite3
|
libstdc++6
|
||||||
sudo apt-get -y install libsqlite3-dev
|
sqlite3
|
||||||
sudo apt-get -y install libqt5gui5
|
libsqlite3-dev
|
||||||
sudo apt-get -y install libqt5sql5
|
libqt5gui5
|
||||||
sudo apt-get -y install libqt5widgets5
|
libqt5sql5
|
||||||
sudo apt-get -y install libqt5core5a
|
libqt5widgets5
|
||||||
sudo apt-get -y install qtcreator
|
libqt5core5a
|
||||||
sudo apt-get -y install qt5-default
|
qtcreator
|
||||||
sudo apt-get -y install astyle
|
qt5-default
|
||||||
sudo apt-get -y install uncrustify
|
astyle
|
||||||
sudo apt-get -y install clang-format
|
uncrustify
|
||||||
|
clang-format
|
||||||
|
qttools5-dev
|
||||||
|
"
|
||||||
|
for d in $deplist; do
|
||||||
|
sudo apt-get -y install $d
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user