How to Install and Uninstall iptables.x86_64 Package on Amazon Linux 2

Last updated: January 08,2025

1. Install "iptables.x86_64" package

Here is a brief guide to show you how to install iptables.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install iptables.x86_64

2. Uninstall "iptables.x86_64" package

Please follow the guidelines below to uninstall iptables.x86_64 on Amazon Linux 2:

$ sudo yum remove iptables.x86_64 $ sudo yum autoremove

3. Information about the iptables.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : iptables
Arch : x86_64
Version : 1.8.4
Release : 10.amzn2.1.2
Size : 476 k
Repo : amzn2-core/2/x86_64
Summary : Tools for managing Linux kernel packet filtering capabilities
URL : http://www.netfilter.org/
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 install this package.