First of all, we need to compile it, as it’s not included any more in the Ubuntu repositories.
In order to do that, first you need to install some packages.
apt-get install build-essential devscripts dpkg-dev debhelper
Then, from the Debian packages website we need to manually download some files. You need to go here, and, on the right hand side you will find 3 files, an .dsc, an orig.tar.gz one and an debian.tar.gz file. Download them all.
dokg-source -x aircrack-ng_1.1-5.dsc cd aircrack-ng-1.1
then start compiling using the command
You might get an error here and you need to install some dependencies. To do that you can type:
apt-get install libpcap0.8-dev libgcrypt11-dev libsqlite3-dev libnl-dev zlib1g-dev hardening-includes
Afetr everything is done, type:
cd dpkg -i aircrack-ng_*.deb
Enjoy cracking wireless networks!