Whenever I attempt to install aircrack-ng
in terminal I get the following error:
Package aircrack-ng is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
iw
E: Package 'aircrack-ng' has no installation candidate"
I'm new to Ubuntu and so have no idea what to do.
Best Answer
It has been removed from ubuntu repositories as message says. you can install it by doing following procedure
In the aircrack-ng-1.1 directory there is a file called common.mak, use your favorite editor to open the file and scroll down till you see the following line:
Delete the
-Werror
variable, so that the line now looks like the following. Save and exit.Run
make
andsudo make install
in terminal to getaircrack-ng
up and running."For
build-essential
go to update manager > settings > ubuntu softwares and see if top main is checked.