A dedicated APT repository (apt.netzob.org) is available for downloading and installing Netzob.
Steps:/etc/apt/sources.list
to add the netzob's repository URL,apt-get
./etc/apt/sources.list
You need to register the repository in your APT client by adding the following entry (stable or unstable) in your /etc/apt/sources.list
or through a dedicated file in /etc/apt/sources.list.d/
. Then you need to import the gpg public key used to sign the repository.
Unstable & testing ("Wheezy")
deb http://apt.netzob.org/debian/ unstable main deb-src http://apt.netzob.org/debian/ unstable main
Stable ("Squeeze")
deb http://apt.netzob.org/debian/ squeeze-backports main deb-src http://apt.netzob.org/debian/ squeeze-backports mainImport GPG key¶
The repository is signed, so APT may complain until you register the archive key 0xE57AEA26
to your APT keyring. The fingerprint of the key is D865 DCF0 9B9A 195C 49F0 E3F3 F750 1A13 E57A EA26
and has been signed by the followings:
To import the key of the APT repository you can execute the following commands :
# wget https://dev.netzob.org/misc/debian_archive.asc -O -| gpg --import # gpg --export -a 0xF7501A13E57AEA26 | sudo apt-key add -Install netzob¶
You can install it with the following commands :
# apt-get update # apt-get install netzob
Installing Netzob directly from the debian package (deb file) implies you manually install the necessary packages in order to handle the required dependencies. Therefore, the following commands can be executed to install them :
# apt-get install python python-ptrace python-hachoir-subfile python-matplotlib python-dpkt strace lsof python-pcapy python-bitarray python-dev python-lxml libjs-sphinxdoc python-sphinx
Once the requirements are fullfilled you can download the debian file (i386 or amd64) and install it using the following command for an i386 architecture (32 bits) :
# dpkg -i netzob_0.3.0-1_i386.deb
or for an AMD64 (64 bits) :
# dpkg -i netzob_0.3.0-1_amd64.deb