-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL.txt
92 lines (58 loc) · 2.5 KB
/
INSTALL.txt
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Try:
python setup.py install
IMPORTANT: see script install sections
== Depending packages ==
Note: names of packages can change from a distribution to another.
* python-setuptools and python-devel (in order to run setup.py install)
* NetworkX <= 0.37 (download it from http://networkx.lanl.gov/ if you haven't it in your repository)
* scipy
* graphviz
* pygraphviz >= 0.37 (download it from http://networkx.lanl.gov/download/pygraphviz/)
(need [graphviz-dev|graphviz-devel] ) | pydot (it is better to install pygraphviz, because pydot has some bug..)
* pyparsing
* python-gnuplot (not required from r716)
* gnuplot (optional)
* python-bz2 (might included in Python) | bzip2
* pynetconv (included in svn repo, or in relase >= 0.1 )
* subversion ONLY IF you would like to use the syncronization script
=== scipy ===
scipy is a big beast. It depends on LAPACK, an even bigger beast. So
it might be hard to install. If it doesn't install from your distro it
could be worth it to to try the bleeding edge from subversion.
=== easy_install ===
Since you will need a whole lot of other stuff. It is suggested to
install easy_install. Try:
wget http://peak.telecommunity.com/dist/ez_setup.py && sudo python ez_setup.py
for $p in networkx pygraphviz pyparsing numpy ipython; do easy_install $p; done
=== Importing dot files ===
In case you have troubles installing graphviz, try:
easy_install pyparsing
====pydot====
pydot is very slow, and you should not use it for big datasets.
pydot (http://dkbza.org/pydot.html) is quite active, so maybe it's
good to use the most current version for now. It's licensed under the
MIT license.
svn checkout http://pydot.googlecode.com/svn/trunk/ pydot
cd pydot
sudo python setup.py install
== Debianic ==
=== stable ===
This might be enough:
apt-get install ipython python-scipy python-pygraphviz python-pyparsing python-networkx python-pydot
=== Ubuntu Dapper ===
Uncomment universe stuff in /etc/apt/sources.list
apt-get install ipython python-scipy python-pyparsing python-f2py g77
easy_install networkx
# now do the pydot thing
easy_install numpy
== Script install ==
If you want to install script utilities in you /usr/bin directory,
you must enter in 'scripts', and in 'trustlet' folder and type only 'make'.
If you type make in scripts folder will be installed those script:
wikixml2graph
sync_trustlet (use subversion)
syncrm_trustlet (use subversion)
lsc2
dot2c2
if you type make in trustlet folder will be installed this script:
netevolution