How To Install libnfnetlink on Rocky Linux 8
Introduction
In this tutorial we learn how to install libnfnetlink on Rocky Linux 8.
What is libnfnetlink
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 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libnfnetlink.
Install libnfnetlink 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 using dnf by running the following command:
sudo dnf -y install libnfnetlink
Install libnfnetlink 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 using yum by running the following command:
sudo yum -y install libnfnetlink
How To Uninstall libnfnetlink on Rocky Linux 8
To uninstall only the libnfnetlink package we can use the following command:
sudo dnf remove libnfnetlink
libnfnetlink Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/a43d202b753bdcd463419e8309f6a66f4c04b5
/usr/lib/libnfnetlink.so.0
/usr/lib/libnfnetlink.so.0.2.0
/usr/share/doc/libnfnetlink
/usr/share/doc/libnfnetlink/README
/usr/share/licenses/libnfnetlink
/usr/share/licenses/libnfnetlink/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/a860b6a4e094096b8e251d2a82736ea9af1a63
/usr/lib64/libnfnetlink.so.0
/usr/lib64/libnfnetlink.so.0.2.0
/usr/share/doc/libnfnetlink
/usr/share/doc/libnfnetlink/README
/usr/share/licenses/libnfnetlink
/usr/share/licenses/libnfnetlink/COPYING
References
Summary
In this tutorial we learn how to install libnfnetlink on Rocky Linux 8 using yum and dnf.