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

Last updated: December 23,2024

1. Install "python3-rpm" package

This tutorial shows how to install python3-rpm on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-rpm

2. Uninstall "python3-rpm" package

Please follow the guidance below to uninstall python3-rpm on Debian 12 (Bookworm):

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

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

Package: python3-rpm
Source: rpm
Version: 4.18.0+dfsg-1+deb12u1
Installed-Size: 1687
Maintainer: RPM packaging team
Architecture: amd64
Depends: libc6 (>= 2.28), librpm9 (= 4.18.0+dfsg-1+deb12u1), librpmbuild9 (= 4.18.0+dfsg-1+deb12u1), librpmio9 (= 4.18.0+dfsg-1+deb12u1), librpmsign9 (= 4.18.0+dfsg-1+deb12u1), python3 (<< 3.12), python3 (>= 3.11~), python3:any, rpm-common (= 4.18.0+dfsg-1+deb12u1)
Description: Python 3 bindings for RPM
Description-md5: 4c86706340dedfb97287c361b94fc396
Homepage: https://rpm.org/
Section: python
Priority: optional
Filename: pool/main/r/rpm/python3-rpm_4.18.0+dfsg-1+deb12u1_amd64.deb
Size: 1582704
MD5sum: 9381dffc8bab70c1d6d2f6e0b5e42356
SHA256: 80a0cc2c242083ba6b773155d7d8a971c2d8d4e892240443a1a7242c92f0dd39