无法安装 aircrack-ng

无法安装 aircrack-ng

可能重复:
无法安装 aircrack-ng

今天尝试安装 aircrack-ng,用了命令sudo apt-get install aircrack-ng,没用。

以下是其中的内容:

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

^^我用谷歌翻译来翻译,因为对我来说翻译起来太难了。对此我真的很抱歉。

我有一台 HP Pavilion g7 1303 和 Ubuntu 12.04.1 x64。

我必须做什么才能让它发挥作用?

答案1

Aircrack-ng 已从 ubuntu repo 中删除。要构建它,您需要按照此处的指南进行操作

securit.se/en/2012/03/kompilera-reaver-ubuntu-12-04/

以下是一份简短的指南

安装要求

sudo apt-get install build-essential libssl-dev

获取源代码并开始构建

wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz
tar -xzvf aircrack-ng-1.1.tar.gz
cd aircrack-ng-1.1
nano common.mak

然后找到

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

并像这样删除 -Werror

CFLAGS          ?= -g -W -Wall -O3

然后开始安装过程

make
sudo make install

完成。现在您就可以使用 aircrack-ng 了

相关内容