How to Install and Uninstall libpcap-dev Package on Debian 12 (Bookworm)

Last updated: December 24,2024

1. Install "libpcap-dev" package

This guide covers the steps necessary to install libpcap-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libpcap-dev

2. Uninstall "libpcap-dev" package

This guide let you learn how to uninstall libpcap-dev on Debian 12 (Bookworm):

$ sudo apt remove libpcap-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpcap-dev package on Debian 12 (Bookworm)

Package: libpcap-dev
Source: libpcap
Version: 1.10.3-1
Installed-Size: 36
Maintainer: Romain Francoise
Architecture: amd64
Depends: libpcap0.8-dev
Description: development library for libpcap (transitional package)
Description-md5: 10078daf2f68ccb78a8fc1970d8c94f5
Multi-Arch: same
Homepage: https://www.tcpdump.org/
Tag: devel::library, implemented-in::c, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/libp/libpcap/libpcap-dev_1.10.3-1_amd64.deb
Size: 28248
MD5sum: 9f08ee586a9ca8db4a6b1a50f354b2d4
SHA256: ecce257d786f1734d78cbf8bd41a56b3b86626163e6027904bec31137e78e18c