How to Install and Uninstall libpcap-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 23,2024

1. Install "libpcap-dev" package

This guide covers the steps necessary to install libpcap-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libpcap-dev

2. Uninstall "libpcap-dev" package

This guide let you learn how to uninstall libpcap-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libpcap-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libpcap-dev
Architecture: all
Version: 1.7.4-2ubuntu0.1
Priority: optional
Section: libdevel
Source: libpcap
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19
Depends: libpcap0.8-dev
Filename: pool/main/libp/libpcap/libpcap-dev_1.7.4-2ubuntu0.1_all.deb
Size: 3402
MD5sum: 60813647ad48c198752cde20fd7c2044
SHA1: 13be68b8e3de7e6770c0fcf5e7e71b460ed6f639
SHA256: dc8ebc46d0b48f9734894ff1f81162eee7a864fe4c34bc4663a4a97410a05c4a
SHA512: e9c91dd85db686164477cd7684425bee8c3875694b9d5bf062088f7aa10f1e6a3706dd30e69fabcda05c1a8d56f225f6d6ba4e932a1333654531efe0b433197e
Homepage: http://www.tcpdump.org/
Description-en: development library for libpcap (transitional package)
Empty package to facilitate upgrades, can be safely removed.
Description-md5: 10078daf2f68ccb78a8fc1970d8c94f5
Supported: 5y

Package: libpcap-dev
Priority: optional
Section: libdevel
Installed-Size: 19
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Architecture: all
Source: libpcap
Version: 1.7.4-2
Depends: libpcap0.8-dev
Filename: pool/main/libp/libpcap/libpcap-dev_1.7.4-2_all.deb
Size: 3394
MD5sum: df89b21ddc14397fccb0a9e5e6a3542c
SHA1: d0cbc669abbfd761afdd4d8a5bf8c3daed8b46d5
SHA256: a8c16846ae0126e987e24a4a70a19b560b6f9da512696f39670c34e6b01c103c
Description-en: development library for libpcap (transitional package)
Empty package to facilitate upgrades, can be safely removed.
Description-md5: 10078daf2f68ccb78a8fc1970d8c94f5
Homepage: http://www.tcpdump.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m