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

Last updated: February 03,2025

1. Install "python3-pyroute2" package

Please follow the instructions below to install python3-pyroute2 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-pyroute2

2. Uninstall "python3-pyroute2" package

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

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

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

Package: python3-pyroute2
Source: pyroute2
Version: 0.7.2-2
Installed-Size: 1670
Maintainer: Debian OpenStack
Architecture: all
Replaces: python3-pyroute2-minimal, python3-pyroute2.core, python3-pyroute2.ethtool, python3-pyroute2.ipdb, python3-pyroute2.ipset, python3-pyroute2.ndb, python3-pyroute2.nftables, python3-pyroute2.nslink, python3-pyroute2.protocols
Provides: python3-pyroute2-minimal, python3-pyroute2.core, python3-pyroute2.ethtool, python3-pyroute2.ipdb, python3-pyroute2.ipset, python3-pyroute2.ndb, python3-pyroute2.nftables, python3-pyroute2.nslink, python3-pyroute2.protocols
Depends: python3-psutil, python3-importlib-metadata | python3 (>> 3.8), python3:any
Breaks: python3-pyroute2-minimal, python3-pyroute2.core, python3-pyroute2.ethtool, python3-pyroute2.ipdb, python3-pyroute2.ipset, python3-pyroute2.ndb, python3-pyroute2.nftables, python3-pyroute2.nslink, python3-pyroute2.protocols
Description: Python3 Netlink library - full package
Description-md5: e4cd523444caeea2dfbb5b8f8c3e709a
Homepage: https://github.com/svinota/pyroute2
Section: python
Priority: optional
Filename: pool/main/p/pyroute2/python3-pyroute2_0.7.2-2_all.deb
Size: 297876
MD5sum: cfa4719bc8a7d50824e6ec9eae0b4381
SHA256: 01da9b3bd33f0af6f2eb9ad4e9b19472b5369b6e25d15004364ca978bc5dd378