How To Install arptables-legacy on Fedora 36

In this tutorial we learn how to install arptables-legacy in Fedora 36. arptables-legacy is Legacy user space tool to set up tables of ARP rules in kernel

Introduction

In this tutorial we learn how to install arptables-legacy on Fedora 36.

What is arptables-legacy

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. Note that it is considered legacy upstream since nftables provides the same functionality in a much newer code-base. To aid in migration, there is arptables-nft utility, a drop-in replacement for the legacy one which uses nftables internally. It is provided by iptables-arptables package.

We can use yum or dnf to install arptables-legacy on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install arptables-legacy.

Install arptables-legacy on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install arptables-legacy

Install arptables-legacy on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install arptables-legacy using yum by running the following command:

sudo yum -y install arptables-legacy

How To Uninstall arptables-legacy on Fedora 36

To uninstall only the arptables-legacy package we can use the following command:

sudo dnf remove arptables-legacy

arptables-legacy Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/68ecfc290701b3b09e7c871e8cda14ab227073
/usr/libexec/arptables-helper
/usr/libexec/arptables-legacy-helper
/usr/sbin/arptables
/usr/sbin/arptables-legacy
/usr/sbin/arptables-legacy-restore
/usr/sbin/arptables-legacy-save
/usr/sbin/arptables-restore
/usr/sbin/arptables-save
/usr/share/licenses/arptables-legacy
/usr/share/licenses/arptables-legacy/COPYING
/usr/share/man/man8/arptables-legacy-restore.8.gz
/usr/share/man/man8/arptables-legacy-save.8.gz
/usr/share/man/man8/arptables-legacy.8.gz
/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-legacy on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).