libpcap-1.10.6

#### Beyond Linux® From Scratch (systemd Edition) - Version 13.0

### Chapter 17. Networking Libraries

- Prev

  libnsl-2.0.1

- Next

  libpsl-0.21.5

- Up
- Home

# libpcap-1.10.6

## Introduction to libpcap

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

### Note

This package is known to build and work properly using an LFS 13.0 platform.

### Package Information

- Download (HTTP): https://www.tcpdump.org/release/libpcap-1.10.6.tar.gz

- Download MD5 sum: f49b1c1877dcbb3b7f5147429aa047f9

- Download size: 968 KB

- Estimated disk space required: 11 MB

- Estimated build time: less than 0.1 SBU

### libpcap Dependencies

#### Optional

BlueZ-5.86, libnl-3.12.0, libusb-1.0.29, Software distribution for the DAG, and Septel range of passive network monitoring cards.

## Installation of libpcap

Install libpcap by running the following commands:

    ./configure --prefix=/usr &&
    make

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

## Contents

Installed Program: pcap-config
Installed Libraries: libpcap.so
Installed Directory: /usr/include/pcap

### Short Descriptions

pcap-config | provides configuration information for libpcap
`libpcap.{a,so}` | are libraries used for user-level packet capture

- Prev

  libnsl-2.0.1

- Next

  libpsl-0.21.5

- Up
- Home