In Kali Linux: How To Install Pyrit
sudo apt install -y python3-dev libssl-dev libpcap-dev libcurl4-openssl-dev zlib1g-dev libsqlite3-dev
Once installed, here's how to use Pyrit:
Kali’s official repository sometimes includes an older, working version.
sudo apt install pyrit -y
Verification:
pyrit --version
Note: As of Kali 2023.4+, this may fail due to missing dependencies (e.g., scapy for Python 3). If it fails, use Method 2 or 3. How to install Pyrit in Kali Linux
clinfo
Pyrit depends on several libraries and tools.
sudo apt install -y build-essential python3-dev libssl-dev libpcap-dev git
For GPU acceleration (OpenCL):
sudo apt install -y opencl-headers ocl-icd-libopencl1
If you have an NVIDIA GPU:
sudo apt install -y nvidia-opencl-dev nvidia-cuda-toolkit
pyrit import_passwords /usr/share/wordlists/rockyou.txt
Installing Pyrit on modern Kali Linux is no longer a simple apt-get command, but it’s far from impossible. Whether you choose the Python 3 fork, brave the CUDA compilation, or wrap everything in Docker, Pyrit can still serve as a valuable entry point into the world of wireless password cracking.
That said, the broader security community has moved on. Use this guide to install Pyrit for its historical value and educational merit, but invest your serious cracking time into learning Hashcat. It’s faster, more versatile, and—most importantly—actively maintained. Once installed, here's how to use Pyrit: Kali’s
Now go forth, audit responsibly, and always get written permission before testing networks you don’t own.
This article was last tested on Kali Linux 2024.4. Commands and repositories are subject to change; check GitHub for the latest Pyrit forks.
Go back to the main directory or just run pyrit list_cores to see if your GPU is detected. Verification :
pyrit --version
pyrit list_cores
You should see CUDA-Device listed alongside your CPU cores.
