How to Install and Uninstall libpcap.x86_64 Package on Amazon Linux 2

Last updated: May 05,2024

1. Install "libpcap.x86_64" package

Please follow the step by step instructions below to install libpcap.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install libpcap.x86_64

2. Uninstall "libpcap.x86_64" package

This is a short guide on how to uninstall libpcap.x86_64 on Amazon Linux 2:

$ sudo yum remove libpcap.x86_64 $ sudo yum autoremove

3. Information about the libpcap.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : libpcap
Arch : x86_64
Epoch : 14
Version : 1.5.3
Release : 11.amzn2
Size : 140 k
Repo : amzn2-core/2/x86_64
Summary : A system-independent interface for user-level packet capture
URL : http://www.tcpdump.org
License : BSD with advertising
Description : Libpcap provides a portable framework for low-level network
: monitoring. Libpcap can provide network statistics collection,
: security monitoring and network debugging. Since almost every
: system vendor provides a different interface for packet capture,
: the libpcap authors created this system-independent API to ease in
: porting and to alleviate the need for several system-dependent
: packet capture modules in each application.
:
: Install libpcap if you need to do low-level network traffic
: monitoring on your network.