How To Install nftables.x86_64 on Amazon Linux 2

In this tutorial we learn how to install nftables.x86_64 in Amazon Linux 2. nftables.x86_64 is Netfilter Tables userspace utillites

Introduction

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

What is nftables.x86_64

Netfilter Tables userspace utilities.

We can use yum to install nftables.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.x86_64.

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

sudo yum -y install nftables.x86_64

How To Uninstall nftables.x86_64 on Amazon Linux 2

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

sudo yum remove nftables.x86_64

nftables.x86_64 Package Contents on Amazon Linux 2

/etc/nftables
/etc/nftables/all-in-one.nft
/etc/nftables/arp-filter.nft
/etc/nftables/bridge-filter.nft
/etc/nftables/inet-filter.nft
/etc/nftables/ipv4-filter.nft
/etc/nftables/ipv4-mangle.nft
/etc/nftables/ipv4-nat.nft
/etc/nftables/ipv4-raw.nft
/etc/nftables/ipv6-filter.nft
/etc/nftables/ipv6-mangle.nft
/etc/nftables/ipv6-nat.nft
/etc/nftables/ipv6-raw.nft
/etc/nftables/netdev-ingress.nft
/etc/sysconfig/nftables.conf
/usr/lib/systemd/system/nftables.service
/usr/lib64/libnftables.so.0
/usr/lib64/libnftables.so.0.0.0
/usr/sbin/nft
/usr/share/licenses/nftables-0.9.0
/usr/share/licenses/nftables-0.9.0/COPYING
/usr/share/man/man8/nft.8.gz

References

Summary

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