0
votes

Whenever I try to do something in linux as a fresh start, always this type of things happens. Now I tried to install aircrack-ng on my newly installed ubuntu-12.04.

  1. I downloaded the aircrack-ng-1.1 which is latest stable version
  2. I installed the pre-requisites which is mentioned on the website - the build-essentials,libsqllite3-dev and libopenssl-dev and everything went fine.
  3. Now I tried to compile the aircrack-ng-1.1. I used the "make" command. I got some error in folder osdep and in linux.c file.
  4. Then I went to check for bug fixed for this problem in aircrack-ng. I found that there was a bug report submitted for this.
  5. Now tried to fix it as mentioned. Still It din't work.
  6. I went to website again, I saw its written that this solution may not work. I need to downgrade gcc version to 4.5 from 4.6(it comes with build-essential package)
  7. Now I removed gcc-4.6.3 from Ubuntu-software-center. I installed the gcc-4.5 again from command line by "sudo apt-get install gcc-4.5". It got installed successfully.
  8. Now when I wanted to check the gcc installed properly or not, i used the command "gcc --version". But it says me there is no command like that and tells me to install. But when I try to install again it tells me that its already installed and up to date.

Very strange strange problems. Anyone know how to make Aircrack compile?

1

1 Answers

1
votes

Aircrack-ng is on Ubuntu repo (apt-cache search aircrack), so you can install it easily like any package (apt-get install aircrack-ng).

If you want to install it from sources, please edit your post and provide more details on errors encountered.