How To Install nftables-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install nftables-devel.x86_64 in Amazon Linux 2. nftables-devel.x86_64 is Development library for nftables / libnftables

Introduction

In this tutorial we learn how to install nftables-devel.x86_64 on Amazon Linux 2.

What is nftables-devel.x86_64

Development tools and static libraries and header files for the libnftables library.

We can use yum to install nftables-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install nftables-devel.x86_64.

Install nftables-devel.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 nftables-devel.x86_64 using yum by running the following command:

sudo yum -y install nftables-devel.x86_64

How To Uninstall nftables-devel.x86_64 on Amazon Linux 2

To uninstall only the nftables-devel.x86_64 package we can use the following command:

sudo yum remove nftables-devel.x86_64

nftables-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/nftables/libnftables.h
/usr/lib64/libnftables.so
/usr/lib64/pkgconfig/libnftables.pc

References

Summary

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