Introduction to libpcap

libpcap provides functions for user-level packet capture, used in low-level network monitoring.

This package is known to build and work properly using an LFS-7.7 systemd platform.

Package Information

Additional Downloads

libpcap Dependencies


BlueZ-5.35, D-Bus, libnl-3.2.25, libusb-1.0.20, Software distribution for the DAG, and Septel range of passive network monitoring cards.

User Notes:

Installation of libpcap

Install libpcap by running the following commands:

patch -Np1 -i ../libpcap-1.7.3-enable_bluetooth-1.patch &&

./configure --prefix=/usr &&

This package does not come with a test suite.

If you want to disable installing the static library, use this sed:

sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile

Now, as the root user:

make install

Command Explanations

--disable-dbus: Use this switch if you wish to disable D-Bus support.


Installed Program: pcap-config
Installed Libraries:, libpcap.a (optional)
Installed Directory: /usr/include/pcap

Short Descriptions


provides configuration information for libpcap.


are libraries used for user-level packet capture.

Last updated on 2015-07-31 23:26:22 -0500