错误:未找到 pcap 库!

exp*_*rer 2 apt libraries libpcap software-installation

我想安装 reaver 并且我得到的错误是:

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for pcap_open_live in -lpcap... no
error: pcap library not found!
Run Code Online (Sandbox Code Playgroud)

我已经尝试过以下命令:

sudo apt-get install sqlite3 libsqlite3 libsqlite3-dev libcap-dev 
Run Code Online (Sandbox Code Playgroud)

我得到了:

Unable to locate package libsqlite3
Run Code Online (Sandbox Code Playgroud)

而所有其他软件包都已成功安装。

geo*_*mcc 5

您实际上在需要时安装了 libcap-dev

 sudo apt-get install libpcap-dev 
Run Code Online (Sandbox Code Playgroud)

编辑:至于 libsqlite

 sudo apt-get install libsqlite3-0 
Run Code Online (Sandbox Code Playgroud)

或者你可以做

 sudo apt-get install libsqlite3-dev
Run Code Online (Sandbox Code Playgroud)