forked from P4Simulator/P4Simulator-install
-
Notifications
You must be signed in to change notification settings - Fork 1
/
install_ns3_pre.sh
29 lines (28 loc) · 1.34 KB
/
install_ns3_pre.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/bash
apt-get install gcc g++ python -y
apt-get install gcc g++ python python-dev -y
apt-get install mercurial python-setuptools git -y
apt-get install qt5-default -y
apt-get install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev ipython -y
apt-get install openmpi-bin openmpi-common openmpi-doc libopenmpi-dev -y
apt-get install autoconf cvs bzr unrar -y
apt-get install gdb valgrind -y
apt-get install uncrustify -y
apt-get install doxygen graphviz imagemagick -y
apt-get install texlive texlive-extra-utils texlive-latex-extra texlive-font-utils texlive-lang-portuguese dvipng -y
apt-get install python-sphinx dia -y
apt-get install gsl-bin libgsl2 libgsl-dev -y
apt-get install flex bison libfl-dev -y
apt-get install tcpdump -y
apt-get install sqlite sqlite3 libsqlite3-dev -y
apt-get install libxml2 libxml2-dev -y
apt-get install cmake libc6-dev libc6-dev-i386 libclang-dev -y
pip install cxxfilt
apt-get install libgtk2.0-0 libgtk2.0-dev -y
apt-get install vtun lxc -y
# suit for ubuntu 20.04.4 LTS, the module "p4simulator" needs the boost-signals lib.
# libboost1.67-dev is the latest version that can be installed and used.
apt-get install libboost1.67-dev
apt-get install libboost-signals1.67-dev libboost-filesystem1.67-dev -y
# suit for ubuntu 16.04.7 LTS(old version)
# apt-get install libboost-signals-dev libboost-filesystem-dev -y