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

Last updated: December 25,2024

1. Install "python-pyroute2" package

Learn how to install python-pyroute2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-pyroute2

2. Uninstall "python-pyroute2" package

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

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

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

Package: python-pyroute2
Architecture: all
Version: 0.4.21-0.1ubuntu2.1
Priority: optional
Section: python
Source: pyroute2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Florian Pelgrim
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 856
Provides: python2.7-pyroute2
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Suggests: python-pyroute2-doc
Filename: pool/main/p/pyroute2/python-pyroute2_0.4.21-0.1ubuntu2.1_all.deb
Size: 154596
MD5sum: a30e32a893b0579d80c687db590383ba
SHA1: 3b30b128cacd8bcaf46bc509b2762d30d164bff9
SHA256: e7bc132644e10fea2fa6dc5e9b778a24ad362693c11bad83453c30821568ed4c
SHA512: 9f496cac7d27e9166fba036ffc5d8461048f207172e6f6faaf58a639bfea569685b61b8079935ac21c911f38072b96242363b0d16ecb7dbf900788073d6825b9
Homepage: https://pypi.python.org/pypi/pyroute2
Description: Python Netlink library
Description-md5: 94a55a46794cb1a092fb03db9755bb10
Supported: 5y

Package: python-pyroute2
Architecture: all
Version: 0.4.21-0.1ubuntu2
Priority: optional
Section: python
Source: pyroute2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Florian Pelgrim
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 855
Provides: python2.7-pyroute2
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Suggests: python-pyroute2-doc
Filename: pool/main/p/pyroute2/python-pyroute2_0.4.21-0.1ubuntu2_all.deb
Size: 154540
MD5sum: 6a519ff3e2598addb3f81781307b861b
SHA1: 25b76b55bbf12d08f3534c6a9751d2fe31a3994f
SHA256: c79c2fdbf0398f338659f99aea9cd34f9ff631506ac3f622e06dfc4335b137f8
Homepage: https://pypi.python.org/pypi/pyroute2
Description: Python Netlink library
Description-md5: 94a55a46794cb1a092fb03db9755bb10
Supported: 5y