forked from brandonheller/ripl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
42 lines (32 loc) · 1.15 KB
/
INSTALL
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
32
33
34
35
36
37
38
39
40
41
42
== RipL Installation Instructions ==
Required:
setuptools
networkx
mininet (cs244 branch, but Topo only; full install not needed)
== Debian/Ubuntu ==
sudo apt-get install python-setuptools
DO NOT install python-networkx from Debian repos.
Mininet install:
git clone git://github.com/mininet/mininet.git
cd mininet
git checkout -b cs244 origin/class/cs244
sudo make install
Install RipL (which auto-installs networkx):
cd ~/ripl
sudo python setup.py install
=== Mac OS 10.5.x (untested recently) ===
Download and install setuptools
http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c9-py2.5.egg#md5=fe67c3e5a17b12c0e7c541b7ea43a8e6
sudo sh setuptools-0.6c9-py2.5.egg
Download and install networkx
sudo easy_install networkx
Or:
sudo port install py25-networkx
Other dependencies may be installable from MacPorts (port).
=== Windows (untested recently) ===
Download python 2.5.x:
http://www.python.org/download/releases/2.5.4/
Install setuptools:
http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c9.win32-py2.5.exe#md5=602d06054ec1165e995ae54ac30884d7
Install python from git shell:
/c/Python25/Scripts/easy_install networkx