How to Install Pyrit on Kali Linux

Pyrit is a powerful tool for performing WiFi penetration testing and security assessments. It is a popular choice among cybersecurity professionals and enthusiasts who work with Kali Linux, a specialized operating system for ethical hacking and network security.

In this article, we will guide you through the process of installing Pyrit on Kali Linux, allowing you to leverage its capabilities for wireless security testing and password cracking.

Introduction to Pyrit

Pyrit is open-source software that utilizes the power of Graphics Processing Units (GPUs) to accelerate WiFi cracking and password recovery. It supports various WiFi security protocols, such as WPA/WPA2-PSK, and allows for efficient and faster processing of captured handshake files.

Pyrit is written in Python and supports both CPU and GPU acceleration, making it an excellent tool for WiFi security audits and assessments.


Before we proceed with the installation, make sure you have the following prerequisites:

  • A working installation of Kali Linux.
  • A computer with a compatible GPU (NVIDIA or AMD) for accelerated processing.
  • An active internet connection to download the necessary packages.


Step 1: Update and Upgrade Kali Linux

To ensure that you have the latest packages and updates, open a terminal and execute the following commands:

sudo apt update
sudo apt upgrade -y

These commands will update the package lists and upgrade any installed packages on your Kali Linux system.

Step 2: Install Required Dependencies

Pyrit relies on a few dependencies to function correctly. Install these dependencies by running the following command in the terminal:

sudo apt install python3-dev libssl-dev zlib1g-dev libpcap-dev

This command will install the necessary development libraries and headers required by Pyrit.

Install Pyrit

Once the dependencies are installed, you can proceed with the installation of Pyrit. Execute the following commands in the terminal:

sudo apt install pyrit
sudo apt install libpcap0.8

These commands will install Pyrit and its required library, libpcap.

Step 4: Test Pyrit Installation

To verify that Pyrit is successfully installed on your system, you can run a quick test. Open a terminal and execute the following command:

pyrit --version

If Pyrit is installed correctly, you should see the version information displayed in the terminal output.


Installing Pyrit on Kali Linux allows you to harness the power of GPU acceleration for WiFi penetration testing and password cracking. With Pyrit, you can perform security assessments, audit wireless networks, and strengthen the overall security of your organization’s WiFi infrastructure.

Remember to use this tool responsibly and ethically, respecting all legal boundaries and obtaining proper authorization before conducting any security assessments.

Leave a Comment