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
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
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 build
sudo python2 install

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