How To Install libnfnetlink-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libnfnetlink-devel
on Rocky Linux 8.
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.
We can use yum
or dnf
to install libnfnetlink-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libnfnetlink-devel.
Install libnfnetlink-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libnfnetlink-devel
using dnf
by running the following command:
sudo dnf -y install libnfnetlink-devel
Install libnfnetlink-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libnfnetlink-devel
using yum
by running the following command:
sudo yum -y install libnfnetlink-devel
How To Uninstall libnfnetlink-devel on Rocky Linux 8
To uninstall only the libnfnetlink-devel
package we can use the following command:
sudo dnf remove libnfnetlink-devel
libnfnetlink-devel Package Contents on Rocky Linux 8
/usr/include/libnfnetlink
/usr/include/libnfnetlink/libnfnetlink.h
/usr/include/libnfnetlink/linux_nfnetlink.h
/usr/include/libnfnetlink/linux_nfnetlink_compat.h
/usr/lib/libnfnetlink.so
/usr/lib/pkgconfig/libnfnetlink.pc
/usr/include/libnfnetlink
/usr/include/libnfnetlink/libnfnetlink.h
/usr/include/libnfnetlink/linux_nfnetlink.h
/usr/include/libnfnetlink/linux_nfnetlink_compat.h
/usr/lib64/libnfnetlink.so
/usr/lib64/pkgconfig/libnfnetlink.pc
References
Summary
In this tutorial we learn how to install libnfnetlink-devel
on Rocky Linux 8 using yum and dnf.