How To Install libpcap-devel.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libpcap-devel.x86_64
on Amazon Linux 2.
What is libpcap-devel.x86_64
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. This package provides the libraries, include files, and other resources needed for developing libpcap applications.
We can use yum
to install libpcap-devel.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libpcap-devel.x86_64.
Install libpcap-devel.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libpcap-devel.x86_64
using yum
by running the following command:
sudo yum -y install libpcap-devel.x86_64
How To Uninstall libpcap-devel.x86_64 on Amazon Linux 2
To uninstall only the libpcap-devel.x86_64
package we can use the following command:
sudo yum remove libpcap-devel.x86_64
libpcap-devel.x86_64 Package Contents on Amazon Linux 2
/usr/bin/pcap-config
/usr/include/pcap
/usr/include/pcap-bpf.h
/usr/include/pcap-namedb.h
/usr/include/pcap.h
/usr/include/pcap/bluetooth.h
/usr/include/pcap/bpf.h
/usr/include/pcap/ipnet.h
/usr/include/pcap/namedb.h
/usr/include/pcap/pcap.h
/usr/include/pcap/sll.h
/usr/include/pcap/usb.h
/usr/include/pcap/vlan.h
/usr/lib64/libpcap.so
/usr/share/man/man1/pcap-config.1.gz
/usr/share/man/man3/pcap.3pcap.gz
/usr/share/man/man3/pcap_activate.3pcap.gz
/usr/share/man/man3/pcap_breakloop.3pcap.gz
/usr/share/man/man3/pcap_can_set_rfmon.3pcap.gz
/usr/share/man/man3/pcap_close.3pcap.gz
/usr/share/man/man3/pcap_compile.3pcap.gz
/usr/share/man/man3/pcap_create.3pcap.gz
/usr/share/man/man3/pcap_datalink.3pcap.gz
/usr/share/man/man3/pcap_datalink_name_to_val.3pcap.gz
/usr/share/man/man3/pcap_datalink_val_to_description.3pcap.gz
/usr/share/man/man3/pcap_datalink_val_to_name.3pcap.gz
/usr/share/man/man3/pcap_dispatch.3pcap.gz
/usr/share/man/man3/pcap_dump.3pcap.gz
/usr/share/man/man3/pcap_dump_close.3pcap.gz
/usr/share/man/man3/pcap_dump_file.3pcap.gz
/usr/share/man/man3/pcap_dump_flush.3pcap.gz
/usr/share/man/man3/pcap_dump_fopen.3pcap.gz
/usr/share/man/man3/pcap_dump_ftell.3pcap.gz
/usr/share/man/man3/pcap_dump_open.3pcap.gz
/usr/share/man/man3/pcap_file.3pcap.gz
/usr/share/man/man3/pcap_fileno.3pcap.gz
/usr/share/man/man3/pcap_findalldevs.3pcap.gz
/usr/share/man/man3/pcap_fopen_offline.3pcap.gz
/usr/share/man/man3/pcap_fopen_offline_with_tstamp_precision.3pcap.gz
/usr/share/man/man3/pcap_free_datalinks.3pcap.gz
/usr/share/man/man3/pcap_free_tstamp_types.3pcap.gz
/usr/share/man/man3/pcap_freealldevs.3pcap.gz
/usr/share/man/man3/pcap_freecode.3pcap.gz
/usr/share/man/man3/pcap_get_selectable_fd.3pcap.gz
/usr/share/man/man3/pcap_get_tstamp_precision.3pcap.gz
/usr/share/man/man3/pcap_geterr.3pcap.gz
/usr/share/man/man3/pcap_getnonblock.3pcap.gz
/usr/share/man/man3/pcap_inject.3pcap.gz
/usr/share/man/man3/pcap_is_swapped.3pcap.gz
/usr/share/man/man3/pcap_lib_version.3pcap.gz
/usr/share/man/man3/pcap_list_datalinks.3pcap.gz
/usr/share/man/man3/pcap_list_tstamp_types.3pcap.gz
/usr/share/man/man3/pcap_lookupdev.3pcap.gz
/usr/share/man/man3/pcap_lookupnet.3pcap.gz
/usr/share/man/man3/pcap_loop.3pcap.gz
/usr/share/man/man3/pcap_major_version.3pcap.gz
/usr/share/man/man3/pcap_minor_version.3pcap.gz
/usr/share/man/man3/pcap_next.3pcap.gz
/usr/share/man/man3/pcap_next_ex.3pcap.gz
/usr/share/man/man3/pcap_offline_filter.3pcap.gz
/usr/share/man/man3/pcap_open_dead.3pcap.gz
/usr/share/man/man3/pcap_open_dead_with_tstamp_precision.3pcap.gz
/usr/share/man/man3/pcap_open_live.3pcap.gz
/usr/share/man/man3/pcap_open_offline.3pcap.gz
/usr/share/man/man3/pcap_open_offline_with_tstamp_precision.3pcap.gz
/usr/share/man/man3/pcap_perror.3pcap.gz
/usr/share/man/man3/pcap_sendpacket.3pcap.gz
/usr/share/man/man3/pcap_set_buffer_size.3pcap.gz
/usr/share/man/man3/pcap_set_datalink.3pcap.gz
/usr/share/man/man3/pcap_set_immediate_mode.3pcap.gz
/usr/share/man/man3/pcap_set_promisc.3pcap.gz
/usr/share/man/man3/pcap_set_rfmon.3pcap.gz
/usr/share/man/man3/pcap_set_snaplen.3pcap.gz
/usr/share/man/man3/pcap_set_timeout.3pcap.gz
/usr/share/man/man3/pcap_set_tstamp_precision.3pcap.gz
/usr/share/man/man3/pcap_set_tstamp_type.3pcap.gz
/usr/share/man/man3/pcap_setdirection.3pcap.gz
/usr/share/man/man3/pcap_setfilter.3pcap.gz
/usr/share/man/man3/pcap_setnonblock.3pcap.gz
/usr/share/man/man3/pcap_snapshot.3pcap.gz
/usr/share/man/man3/pcap_stats.3pcap.gz
/usr/share/man/man3/pcap_statustostr.3pcap.gz
/usr/share/man/man3/pcap_strerror.3pcap.gz
/usr/share/man/man3/pcap_tstamp_type_name_to_val.3pcap.gz
/usr/share/man/man3/pcap_tstamp_type_val_to_name.3pcap.gz
/usr/share/man/man5/pcap-savefile.5.gz
References
Summary
In this tutorial we learn how to install libpcap-devel.x86_64
on Amazon Linux 2 using yum.