How can I install pyrit on Ubuntu?

· 104 words · 1 minute read

The pyrit package was last available for Ubuntu 18.04 LTS at pyrit version 0.4.0. But you can install it on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS by manual package download using those commands.

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/pyrit/pyrit_0.4.0-7.1build2_amd64.deb
sudo apt-get install ./pyrit_0.4.0-7.1build2_amd64.deb

If you need to install the latest version of pyrit, you can get it from Github using these commands.

sudo apt-get install python3-scapy libssl-dev zlib1g-dev libpcap0.8-dev python2-dev python-is-python2
cd ~/Downloads
wget -c https://github.com/JPaulMora/Pyrit/archive/v0.5.0.tar.gz
tar -xf v0.5.0.tar.gz
cd Pyrit-0.5.0
sed -i "s/COMPILE_AESNI/NO_COMPILE_AESNI/" cpyrit/_cpyrit_cpu.c
python2 setup.py build
sudo python2 setup.py install

You can test the installed package using pyrit benchmark or pyrit benchmark_long.

Share:
waffarx cash back