How To Install libnet10-devel on CentOS 7

In this tutorial we learn how to install libnet10-devel on CentOS 7. libnet10-devel is Development files for the libnet library

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.

sudo yum makecache

After updating yum database, We can install libnet10-devel using yum by running the following command:

sudo yum -y install libnet10-devel

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.

sudo dnf makecache

After updating yum database, We can install libnet10-devel using dnf by running the following command:

sudo dnf -y install libnet10-devel

How To Uninstall libnet10-devel on CentOS 7

To uninstall only the libnet10-devel package we can use the following command:

sudo dnf remove libnet10-devel

References

Summary

In this tutorial we learn how to install libnet10-devel on CentOS 7 using yum and dnf.