How to Install and Uninstall iptables.x86_64 Package on CentOS 8 / RHEL 8

Last updated: May 17,2024

1. Install "iptables.x86_64" package

In this section, we are going to explain the necessary steps to install iptables.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install iptables.x86_64

2. Uninstall "iptables.x86_64" package

Please follow the step by step instructions below to uninstall iptables.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove iptables.x86_64 $ sudo dnf autoremove

3. Information about the iptables.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 3:31:03 ago on Sun May 9 13:03:46 2021.
Installed Packages
Name : iptables
Version : 1.8.4
Release : 15.el8_3.3
Architecture : x86_64
Size : 1.9 M
Source : iptables-1.8.4-15.el8_3.3.src.rpm
Repository : @System
From repo : anaconda
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.