How to Install and Uninstall iptables.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: March 01,2025

1. Install "iptables.x86_64" package

This guide covers the steps necessary to install iptables.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install iptables.x86_64

2. Uninstall "iptables.x86_64" package

Please follow the steps below to uninstall iptables.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

$ sudo dnf remove iptables.x86_64 $ sudo dnf autoremove

3. Information about the iptables.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 1:59:42 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : iptables
Version : 1.8.5
Release : 10.el8_9
Architecture : x86_64
Size : 591 k
Source : iptables-1.8.5-10.el8_9.src.rpm
Repository : ubi-8-baseos-rpms
Summary : Tools for managing Linux kernel packet filtering capabilities
URL : http://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. If you need to set up firewalls and/or IP masquerading,
: you should either install nftables or this package.
:
: Note: This package contains the nftables-based variants of iptables and
: ip6tables, which are drop-in replacements of the legacy tools.