How to Install and Uninstall python3-iptables Package on Debian 12 (Bookworm)

Last updated: May 15,2024

1. Install "python3-iptables" package

In this section, we are going to explain the necessary steps to install python3-iptables on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-iptables

2. Uninstall "python3-iptables" package

This is a short guide on how to uninstall python3-iptables on Debian 12 (Bookworm):

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

3. Information about the python3-iptables package on Debian 12 (Bookworm)

Package: python3-iptables
Source: python-iptables
Version: 1.0.1-1
Installed-Size: 201
Maintainer: Debian Python Team
Architecture: amd64
Depends: iptables, python3-distutils, python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.11)
Suggests: python-iptables-doc
Description: Python bindings for iptables (Python 3 interface)
Description-md5: b9d65ec51d0a5a1d5e9b1c80b927b67e
Homepage: https://github.com/ldx/python-iptables
Section: python
Priority: optional
Filename: pool/main/p/python-iptables/python3-iptables_1.0.1-1_amd64.deb
Size: 33296
MD5sum: db4806a29f598aac9d5125f8cd3b7099
SHA256: 32aebc24a4eda92347a066d492cf223b174f88b45b7e23629a915ed9fd0c3fe1