How to Install and Uninstall iptables Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 29,2024

1. Install "iptables" package

In this section, we are going to explain the necessary steps to install iptables on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install iptables

2. Uninstall "iptables" package

Please follow the step by step instructions below to uninstall iptables on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove iptables $ sudo apt autoclean && sudo apt autoremove

3. Information about the iptables package on Ubuntu 24.04 LTS (Noble Numbat)

Package: iptables
Architecture: amd64
Version: 1.8.10-3ubuntu1
Multi-Arch: foreign
Priority: standard
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Netfilter Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2420
Depends: libip4tc2 (= 1.8.10-3ubuntu1), libip6tc2 (= 1.8.10-3ubuntu1), libxtables12 (= 1.8.10-3ubuntu1), netbase (>= 6.0), libc6 (>= 2.38), libmnl0 (>= 1.0.3-4~), libnetfilter-conntrack3 (>= 1.0.6), libnfnetlink0 (>= 1.0.2), libnftnl11 (>= 1.1.6)
Recommends: nftables
Suggests: firewalld, kmod
Filename: pool/main/i/iptables/iptables_1.8.10-3ubuntu1_amd64.deb
Size: 380648
MD5sum: 8293856462d01b507bcb795397efbf99
SHA1: 6a7a90a85cc3f2db1dcc0841ead7fc49f0494fd3
SHA256: 071cd956c6060fef8be6b1f8aa0411826e2c0993f9675a736276d3da918d0c8d
SHA512: 0d9d7dd7bd49e46a2484e5a46352b44290370d8573c43a943e6d68cd3674ebb1749aac9539de1967ef5ab48ea13b942d129198db912399b402318d472c640d7d
Homepage: https://www.netfilter.org/
Description: administration tools for packet filtering and NAT
Description-md5: dc4b91f4ed9a9f9fb4896c64ab1f7992
Task: standard