How To Install libnet.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libnet.x86_64
on Amazon Linux 2.
What is libnet.x86_64
Libnet is an API to help with the construction and handling of network packets. It provides a portable framework for low-level network packet writing and handling (use libnet in conjunction with libpcap and you can write some really cool stuff). Libnet includes packet creation at the IP layer and at the link layer as well as a host of supplementary and complementary functionality.
We can use yum
to install libnet.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libnet.x86_64.
Install libnet.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 libnet.x86_64
using yum
by running the following command:
sudo yum -y install libnet.x86_64
How To Uninstall libnet.x86_64 on Amazon Linux 2
To uninstall only the libnet.x86_64
package we can use the following command:
sudo yum remove libnet.x86_64
libnet.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libnet.so.1
/usr/lib64/libnet.so.1.7.0
/usr/share/doc/libnet-1.1.6
/usr/share/doc/libnet-1.1.6/CHANGELOG
/usr/share/doc/libnet-1.1.6/CONTRIB
/usr/share/doc/libnet-1.1.6/COPYING
/usr/share/doc/libnet-1.1.6/README
References
Summary
In this tutorial we learn how to install libnet.x86_64
on Amazon Linux 2 using yum.