How to Install and Uninstall iptables-legacy.x86_64 Package on Rocky Linux 9

Last updated: May 17,2024

1. Install "iptables-legacy.x86_64" package

Please follow the step by step instructions below to install iptables-legacy.x86_64 on Rocky Linux 9

$ sudo dnf update $ sudo dnf install iptables-legacy.x86_64

2. Uninstall "iptables-legacy.x86_64" package

Learn how to uninstall iptables-legacy.x86_64 on Rocky Linux 9:

$ sudo dnf remove iptables-legacy.x86_64 $ sudo dnf autoremove

3. Information about the iptables-legacy.x86_64 package on Rocky Linux 9

Last metadata expiration check: 1:16:32 ago on Fri Feb 16 06:49:52 2024.
Available Packages
Name : iptables-legacy
Version : 1.8.8
Release : 6.el9.2
Architecture : x86_64
Size : 53 k
Source : iptables-epel-1.8.8-6.el9.2.src.rpm
Repository : epel
Summary : Legacy tools for managing Linux kernel packet filtering capabilities
URL : https://www.netfilter.org/projects/iptables
License : GPLv2 and Artistic 2.0 and ISC
Description : The iptables utility controls the network packet filtering code in the
: Linux kernel. This package contains the legacy tools which are obsoleted by
: nft-variants in iptables-nft package for backwards compatibility reasons.
: If you need to set up firewalls and/or IP masquerading, you should not install
: this package but either nftables or iptables-nft instead.