Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Can’t install aircrack-ng

Today I tried to install aircrack-ng. I used the command sudo apt-get install aircrack-ng and it didn't work.

Here's what it says:

root @ Matej-HP home/mighty2361 :/ # apt-get install Aircrack-ng
Reading package lists ... made
Building dependency tree
Reading data on the state of ... made
Aircrack-ng package is not available, but it refers to another package.
This usually means that the package is missing, has been obsoleted, or
is only available from another source.
However the following packages replace
   iw: iw i386

E: Package 'Aircrack-ng' has no installation candidate

^^I used google translate for that because it is too hard to translate for me. I'm really sorry for that.

I have a HP Pavilion g7 1303 and Ubuntu 12.04.1 x64.

What do I have to do to make it work?

share|improve this question

marked as duplicate by Eliah Kagan, hhlp, Ringtail, Jorge Castro, Chris Wilson Jan 20 '13 at 18:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 4 down vote accepted

Aircrack-ng has been removed from ubuntu repo. To build it, you need to follow the guide here

And here is a short guide

Install requirement

sudo apt-get install build-essential libssl-dev

Grab the source and start building

tar -xzvf aircrack-ng-1.1.tar.gz
cd aircrack-ng-1.1
nano common.mak

Then find

CFLAGS          ?= -g -W -Wall -Werror -O3

And remove -Werror like this

CFLAGS          ?= -g -W -Wall -O3

Then start the install process

sudo make install

Done. Now you're ready to use aircrack-ng

share|improve this answer
I can only use the aircrack-ng command when i do it this way. I cannot use airmon-ng, airodump-ng, aireplay-ng, etc... – Gman Smith Mar 3 at 3:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.