Introduction
In this tutorial we learn how to install aircrack-ng
on Kali Linux.
What is aircrack-ng
aircrack-ng is:
aircrack-ng is an 802.11a/b/g WEP/WPA cracking program that can recover a
40-bit, 104-bit, 256-bit or 512-bit WEP key once enough encrypted packets
have been gathered. Also it can attack WPA1/2 networks with some advanced
methods or simply by brute force.
It implements the standard FMS attack along with some optimizations,
thus making the attack much faster compared to other WEP cracking tools.
It can also fully use a multiprocessor system to its full power in order
to speed up the cracking process.
aircrack-ng is a fork of aircrack, as that project has been stopped by
the upstream maintainer.
There are three methods to install aircrack-ng
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install aircrack-ng Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install aircrack-ng
using apt-get
by running the following command:
sudo apt-get -y install aircrack-ng
Install aircrack-ng Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install aircrack-ng
using apt
by running the following command:
sudo apt -y install aircrack-ng
Install aircrack-ng Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install aircrack-ng
using aptitude
by running the following command:
sudo aptitude -y install aircrack-ng
How To Uninstall aircrack-ng on Kali Linux
To uninstall only the aircrack-ng
package we can use the following command:
sudo apt-get remove aircrack-ng
Uninstall aircrack-ng And Its Dependencies
To uninstall aircrack-ng
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove aircrack-ng
Remove aircrack-ng Configurations and Data
To remove aircrack-ng
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge aircrack-ng
Remove aircrack-ng configuration, data, and all of its dependencies
We can use the following command to remove aircrack-ng
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge aircrack-ng
Dependencies
aircrack-ng have the following dependencies:
- ethtool
- hwloc
- iw
- rfkill
- usbutils
- wireless-tools
- libc6
- libgcc-s1
- libgcrypt20
- libhwloc15
- libnl-3-200
- libnl-genl-3-200
- libpcap0.8
- libpcre3
- libsqlite3-0
- libstdc++6
- zlib1g
References
Summary
In this tutorial we learn how to install aircrack-ng
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.