Installing aircrack is actually very simple, and can be done in a few commands!
First, install the needed libraries, programs and development files:
apt-get -y install iw libnl-3* libssl-dev gcc
Next download aircrack, extract it and start compiling:
tar -xsf aircrack-ng-1.2-rc2.tar.gz
Finally, “install” the program to make it easier to run:
After this has completed, be sure to test all the installed tools to make sure they are functioning.