How to Install and Uninstall python-iptables Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 17,2024

1. Install "python-iptables" package

Please follow the guidance below to install python-iptables on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-iptables

2. Uninstall "python-iptables" package

In this section, we are going to explain the necessary steps to uninstall python-iptables on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-iptables package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-iptables
Architecture: amd64
Version: 0.12.0-1build1
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 173
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.11), iptables
Suggests: python-iptables-doc
Filename: pool/universe/p/python-iptables/python-iptables_0.12.0-1build1_amd64.deb
Size: 25652
MD5sum: 2bf66b2452a291dc7fcb0fcd8776a6d1
SHA1: 62dd9d7df15d52d8427d7a66ac3fdd3ce1f85dfa
SHA256: bc8c53386d609d4af74c0487539ae97084841e0423bcbff76ec52bfa6d651312
Homepage: https://github.com/ldx/python-iptables
Description: Python bindings for iptables (Python 2 interface)
Description-md5: 54d05323e0e2d66fb0d22981e9f5a277