How to Install and Uninstall python3-netfilter Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 10,2024

1. Install "python3-netfilter" package

Please follow the instructions below to install python3-netfilter on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python3-netfilter

2. Uninstall "python3-netfilter" package

This tutorial shows how to uninstall python3-netfilter on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python3-netfilter package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python3-netfilter
Architecture: all
Version: 0.6.4-1
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 (>= 3.3.2-2~), iptables
Filename: pool/universe/p/python-netfilter/python3-netfilter_0.6.4-1_all.deb
Size: 8802
MD5sum: 9584333adbf313ad931bea13e44abb56
SHA1: d6fbee91c912fe4153ffa608bc1126031461c226
SHA256: 42fb3111d459ee6bd048cd31fe8ca0c79103addb283484d271779a4c59b09c9d
Homepage: https://github.com/jlaine/python-netfilter
Description: Python module for manipulating netfilter rules (Python 3)
Description-md5: 3d6fa0a3e764a957a254b96892a596dd