How to Install and Uninstall libpcap-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 19,2024

1. Install "libpcap-dev" package

Please follow the instructions below to install libpcap-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libpcap-dev

2. Uninstall "libpcap-dev" package

This is a short guide on how to uninstall libpcap-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libpcap-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libpcap-dev
Architecture: amd64
Version: 1.8.1-6ubuntu1.18.04.2
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libpcap
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: libpcap0.8-dev
Filename: pool/main/libp/libpcap/libpcap-dev_1.8.1-6ubuntu1.18.04.2_amd64.deb
Size: 3480
MD5sum: 1870c2f0330ebf5b99b960bbb9a01444
SHA1: c4d822aa88f249998c62de2de7792c9948d68eeb
SHA256: 8fdfd0f627eb0a3543a9e15823f3b8b79c8c658e0b4d963145950a97b64ea3c4
SHA512: 37c07a2a5f236c43b4582b0f77366dea0178d565aea30ed6143d9a94c24b896ae327856a3a6d20ae691fd9793a04045e978ed9b9d0f1eea90585e27b8fce99f0
Homepage: http://www.tcpdump.org/
Description: development library for libpcap (transitional package)
Description-md5: 10078daf2f68ccb78a8fc1970d8c94f5
Supported: 5y

Package: libpcap-dev
Architecture: amd64
Version: 1.8.1-6ubuntu1.18.04.1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libpcap
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: libpcap0.8-dev
Filename: pool/main/libp/libpcap/libpcap-dev_1.8.1-6ubuntu1.18.04.1_amd64.deb
Size: 3488
MD5sum: 22dd82b50e5bb77507dc496c977e5bbc
SHA1: c6f2c13d1bcb6618960427619d240ae1c0eb7a91
SHA256: 877158ee8e801d37e941e81da9f5073bb0d6392f9535239547a1b3d2ffa60171
SHA512: 1e2b22d26f94b64ac4ff8e0f8c2ab450829addb4e23d70ca3c56ab6e42409d4fcfce5991661940e1e8b0ae29277c4f21c00bb70a5272806c8a6ddd35a78a7a03
Homepage: http://www.tcpdump.org/
Description: development library for libpcap (transitional package)
Description-md5: 10078daf2f68ccb78a8fc1970d8c94f5
Supported: 5y

Package: libpcap-dev
Architecture: amd64
Version: 1.8.1-6ubuntu1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libpcap
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: libpcap0.8-dev
Filename: pool/main/libp/libpcap/libpcap-dev_1.8.1-6ubuntu1_amd64.deb
Size: 3480
MD5sum: 1694ccdd9049002f353bfb941e19a4dc
SHA1: 111f80aebfad7ff455de9fb0ef893cc2f4a637b7
SHA256: 07052fb0e936aeba864194bdc0f5910c7cc71a6eb45c322fca102f6d1cb30b22
Homepage: http://www.tcpdump.org/
Description: development library for libpcap (transitional package)
Description-md5: 10078daf2f68ccb78a8fc1970d8c94f5
Supported: 5y