[tor-commits] [ooni-probe/master] Add details on "the hard way"

art at torproject.org art at torproject.org
Tue Jul 24 11:36:46 UTC 2012


commit ac54aa0e98a7915f527f982f1792df09018767a8
Author: Arturo Filastò <arturo at filasto.net>
Date:   Tue Jul 24 13:25:49 2012 +0200

    Add details on "the hard way"
---
 INSTALL |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/INSTALL b/INSTALL
index 863c62b..bac1a39 100644
--- a/INSTALL
+++ b/INSTALL
@@ -2,6 +2,8 @@
 * Twisted: http://twistedmatrix.com/trac/
 * PyYAML: http://pyyaml.org/
 * Scapy: http://www.secdev.org/projects/scapy/
+    * pypcap: http://code.google.com/p/pypcap/
+    * libdnet: http://code.google.com/p/libdnet/
 
 Optional:
 * BeautifulSoup: http://www.crummy.com/software/BeautifulSoup/
@@ -12,3 +14,49 @@ On debian you can install all the dependecies with apt-get with this command:
 
     apt-get install python-twisted python-twisted-names python-yaml python-scapy python-beautifulsoup
 
+## The "hard" way
+
+This involves installing the dependencies installable via easy_install/pip and
+the ones that are not by building them from source.
+
+"simple" dependencies via easy_install:
+
+    sudo easy_install pyyaml
+    sudo easy_install twisted
+    sudo easy_install beautifulsoup
+
+"simple" dependencies via pip:
+
+    sudo pip install pyyaml
+    sudo pip install twisted
+    sudo pip install beautifulsoup
+
+
+
+libdnet:
+
+    wget http://libdnet.googlecode.com/files/libdnet-1.12.tgz
+    tar xzf libdnet-1.12.tgz
+    cd libdnet-1.12
+    ./configure  && make
+    cd python/
+    sudo python setup.py install
+    cd ../../ && rm -rf libdnet-1.12*
+
+pypcap:
+
+    svn checkout http://pypcap.googlecode.com/svn/trunk/ pypcap-read-only
+    cd pypcap-read-only/
+    sudo pip install pyrex
+    make
+    sudo python setup.py install
+    cd ../ && rm -rf pypcap-read-only
+
+scapy:
+
+    wget http://www.secdev.org/projects/scapy/files/scapy-latest.zip
+    unzip scapy-latest.zip
+    cd scapy-2.2.0/
+    sudo python setup.py install
+    cd ../ && rm -rf scapy-*
+





More information about the tor-commits mailing list