How To Install libnet10-devel on CentOS 7
Introduction
In this tutorial we learn how to install libnet10-devel
on CentOS 7.
What is libnet10-devel
The libnet10-devel package includes header files and libraries necessary for developing programs which use the libnet library. Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (traceroute and ping were easily rewritten using libnet and libpcap). This package contains an old and deprecated version of libnet. You need it only if the software you are using hasn’t been updated to work with the newer version and the newer API.
We can use yum
or dnf
to install libnet10-devel
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libnet10-devel.
Install libnet10-devel on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libnet10-devel
using yum
by running the following command:
Install libnet10-devel on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install libnet10-devel
using dnf
by running the following command:
How To Uninstall libnet10-devel on CentOS 7
To uninstall only the libnet10-devel
package we can use the following command:
References
Summary
In this tutorial we learn how to install libnet10-devel
on CentOS 7 using yum
and dnf
.