Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How can I install libpcap header files on Ubuntu 12.04?

Writer Sebastian Wright

How can I install libpcap header files on Ubuntu 12.04?

When I use apt-get install libpcap I receive following message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpcap
2

3 Answers

Use this:

sudo apt-get install libpcap-dev
1

to install libpcap. try these commands

cd /usr
mkdir nembuild
cd nembuild
wget
tar -xf libpcap-1.5.3.tar.gz
cd libpcap-1.5.3
./configure
make && make install

Enjoy!!!

3

To install libpcap open a terminal by pressing Ctrl+Alt+Tand type:

sudo apt-get install libpcap0.8 libpcap0.8-dev libpcap-dev
1