How to Install and Uninstall python3-netfilter Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 07,2024

1. Install "python3-netfilter" package

Please follow the steps below to install python3-netfilter on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3-netfilter

2. Uninstall "python3-netfilter" package

This tutorial shows how to uninstall python3-netfilter on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python3-netfilter package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python3-netfilter
Architecture: all
Version: 0.6.4-2
Priority: optional
Section: universe/python
Source: python-netfilter
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jeremy Lainé
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 46
Depends: python3:any, iptables
Filename: pool/universe/p/python-netfilter/python3-netfilter_0.6.4-2_all.deb
Size: 9044
MD5sum: ddb9ee4e38c532bf4ee0cc17228584fa
SHA1: f1a90d61d6b70f9e9128938e27cea54e379e2ac2
SHA256: 62a8bf6a3bf1b175dda223f33869e89c9dcce3c0a388c3495b902dda06653080
Homepage: https://github.com/jlaine/python-netfilter
Description: Python module for manipulating netfilter rules (Python 3)
Description-md5: 3d6fa0a3e764a957a254b96892a596dd