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

Last updated: December 25,2024

1. Install "python-netfilter" package

This tutorial shows how to install python-netfilter on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-netfilter

2. Uninstall "python-netfilter" package

Please follow the instructions below to uninstall python-netfilter on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: python-netfilter
Architecture: all
Version: 0.6.4-1
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jeremy Lainé
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 46
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), iptables
Filename: pool/universe/p/python-netfilter/python-netfilter_0.6.4-1_all.deb
Size: 8724
MD5sum: 28e22fc82dd575035847676f32999216
SHA1: 86aa7633b22eaec209dac853eb3db35441db47cd
SHA256: f7de1964d989d4cabe21df640fd100f25e11f1fbb1e593be61e8ec22fdcd1618
Homepage: https://github.com/jlaine/python-netfilter
Description: Python module for manipulating netfilter rules (Python 2)
Description-md5: f767a046c883af5264083a52d58e69a7