How To Install libnfnetlink-devel on CentOS 7
Introduction
In this tutorial we learn how to install libnfnetlink-devel
on CentOS 7.
What is libnfnetlink-devel
libnfnetlink is a userspace library that provides some low-level nfnetlink handling functions. It is used as a foundation for other, netfilter subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log and libnfnetlink_queue. libnfnetlink is a userspace library that provides some low-level nfnetlink handling functions. It is used as a foundation for other, netfilter subsystem specific libraries such as libnfnetlink_conntrack, libnfnetlink_log and libnfnetlink_queue.
We can use yum
or dnf
to install libnfnetlink-devel
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libnfnetlink-devel.
Install libnfnetlink-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 libnfnetlink-devel
using yum
by running the following command:
sudo yum -y install libnfnetlink-devel
Install libnfnetlink-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 libnfnetlink-devel
using dnf
by running the following command:
sudo dnf -y install libnfnetlink-devel
How To Uninstall libnfnetlink-devel on CentOS 7
To uninstall only the libnfnetlink-devel
package we can use the following command:
sudo dnf remove libnfnetlink-devel
References
Summary
In this tutorial we learn how to install libnfnetlink-devel
on CentOS 7 using yum
and dnf
.