-
Notifications
You must be signed in to change notification settings - Fork 4
/
install.sh
executable file
·31 lines (25 loc) · 710 Bytes
/
install.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
30
31
#!/usr/bin/env bash
sudo apt-get -y install net-tools ethtool iproute2 tcpdump lsof procps
#
# For Python 2:
#
sudo apt-get -y install python-pip
sudo pip install ipaddress pyyaml dpkt matplotlib numpy
#
# More exactly:
#
# sudo pip install ipaddress==1.0.22 pyyaml==5.1.2 dpkt==1.9.2 matplotlib==2.1.1 numpy==1.16.4
#
# For Python 3:
#
# sudo apt-get -y install python3-pip
# sudo pip3 install pyyaml dpkt matplotlib numpy
#
# More exactly:
#
# sudo pip3 install pyyaml==5.1.2 dpkt==1.9.2 matplotlib==3.0.3 numpy==1.16.4
#
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"
pushd "$script_dir" > /dev/null || exit 1
make -C variable_delay/third_party/mininet
popd > /dev/null