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

### Chapter 17. Networking Libraries

- Prev

  libnsl-1.3.0

- Next

  libpsl-0.21.1

- Up
- Home

# libpcap-1.10.0

## 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-10.1 platform.

### Package Information

- Download (HTTP): http://www.tcpdump.org/release/libpcap-1.10.0.tar.gz

- Download MD5 sum: 8c12dc19dd7e0d02d2bb6596eb5a71c7

- Download size: 916 KB

- Estimated disk space required: 13 MB

- Estimated build time: less than 0.1 SBU

### libpcap Dependencies

#### Optional

BlueZ-5.55, libnl-3.5.0, libusb-1.0.24, Software distribution for the DAG, and Septel range of passive network monitoring cards.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libpcap

## 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

Last updated on 2021-02-20 11:35:58 -0800

- Prev

  libnsl-1.3.0

- Next

  libpsl-0.21.1

- Up
- Home