How to Install and Uninstall iptables Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 16,2024

1. Install "iptables" package

Here is a brief guide to show you how to install iptables on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install iptables

2. Uninstall "iptables" package

This guide covers the steps necessary to uninstall iptables on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the iptables package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: iptables
Priority: standard
Section: net
Installed-Size: 1624
Maintainer: Ubuntu Developers
Original-Maintainer: iptables devel team
Architecture: amd64
Version: 1.6.0-2ubuntu3
Depends: libxtables11 (= 1.6.0-2ubuntu3), libc6 (>= 2.14), libnfnetlink0
Filename: pool/main/i/iptables/iptables_1.6.0-2ubuntu3_amd64.deb
Size: 265782
MD5sum: 706f191cbb20bff7c7a9a0fc01a78c25
SHA1: 66136cee24db5db74e3a64041af9af759edcbe11
SHA256: d2cafb4f1860435ce69a4971e3af5f4bb20753054020f32e1b767e4ba79c0831
Description-en: administration tools for packet filtering and NAT
iptables is the userspace command line program used to configure
the Linux packet filtering ruleset. It is targeted towards system
administrators. Since Network Address Translation is also configured
from the packet filter ruleset, iptables is used for this, too. The
iptables package also includes ip6tables. ip6tables is used for
configuring the IPv6 packet filter
Description-md5: c998471c84128382a425d500ab6155da
Homepage: http://www.netfilter.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: standard, ubuntu-core, ubuntu-core, ubuntu-touch-core, ubuntu-touch, ubuntu-touch, ubuntu-sdk