How To Install libnfnetlink on Fedora 34

libnfnetlink is Netfilter netlink userspace library Netfilter netlink userspace library

Introduction

In this tutorial we learn how to install libnfnetlink on Fedora 34.

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 1.0.1 19.fc34 x86_64 29 k libnfnetlink-1.0.1-19.fc34.src.rpm fedora Netfilter netlink userspace library http GPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libnfnetlink.

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libnfnetlink

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libnfnetlink using yum by running the following command:

sudo yum -y install libnfnetlink

To uninstall only the libnfnetlink package we can use the following command:

sudo dnf remove libnfnetlink
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/e410066fb9bc99e69baea5660406f92c1b1292
/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
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/e581913433d9537e9ac5e2bbb1a08d0961a739
/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

References

Summary

In this tutorial we learn how to install libnfnetlink on Fedora 34 using yum and dnf.