How To Install arptables.x86_64 on Amazon Linux 2

In this tutorial we learn how to install arptables.x86_64 in Amazon Linux 2. arptables.x86_64 is User space tool to set up tables of ARP rules in kernel

Introduction

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

What is arptables.x86_64

The arptables is a user space tool used to set up and maintain the tables of ARP rules in the Linux kernel. These rules inspect the ARP frames which they see. arptables is analogous to the iptables user space tool, but is less complicated.

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

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

sudo yum -y install arptables.x86_64

How To Uninstall arptables.x86_64 on Amazon Linux 2

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

sudo yum remove arptables.x86_64

arptables.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/arptables
/usr/lib/systemd/system/arptables.service
/usr/libexec/arptables-helper
/usr/sbin/arptables
/usr/sbin/arptables-restore
/usr/sbin/arptables-save
/usr/share/doc/arptables-0.0.4
/usr/share/doc/arptables-0.0.4/COPYING
/usr/share/man/man8/arptables-restore.8.gz
/usr/share/man/man8/arptables-save.8.gz
/usr/share/man/man8/arptables.8.gz

References

Summary

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