How To Install libnfnetlink.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libnfnetlink.x86_64 in Amazon Linux 2. libnfnetlink.x86_64 is Netfilter netlink userspace library

Introduction

In this tutorial we learn how to install libnfnetlink.x86_64 on Amazon Linux 2.

What is libnfnetlink.x86_64

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 to install libnfnetlink.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libnfnetlink.x86_64.

Install libnfnetlink.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libnfnetlink.x86_64

How To Uninstall libnfnetlink.x86_64 on Amazon Linux 2

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

sudo yum remove libnfnetlink.x86_64

libnfnetlink.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libnfnetlink.so.0
/usr/lib64/libnfnetlink.so.0.2.0
/usr/share/doc/libnfnetlink-1.0.1
/usr/share/doc/libnfnetlink-1.0.1/COPYING
/usr/share/doc/libnfnetlink-1.0.1/README

References

Summary

In this tutorial we learn how to install libnfnetlink.x86_64 on Amazon Linux 2 using yum.