How to Install and Uninstall python-rpm Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 17,2024

1. Install "python-rpm" package

Here is a brief guide to show you how to install python-rpm on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python-rpm

2. Uninstall "python-rpm" package

Please follow the instructions below to uninstall python-rpm on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python-rpm package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python-rpm
Architecture: amd64
Version: 4.14.2.1+dfsg1-1build2
Priority: extra
Section: universe/python
Source: rpm
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: RPM packaging team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 235
Provides: python2.7-rpm
Depends: libc6 (>= 2.28), librpm8 (= 4.14.2.1+dfsg1-1build2), librpmbuild8 (= 4.14.2.1+dfsg1-1build2), librpmio8 (= 4.14.2.1+dfsg1-1build2), librpmsign8 (= 4.14.2.1+dfsg1-1build2), python2 (<< 2.8), python2 (>= 2.7~), python2:any (<< 2.8), python2:any (>= 2.7~), rpm-common (= 4.14.2.1+dfsg1-1build2)
Filename: pool/universe/r/rpm/python-rpm_4.14.2.1+dfsg1-1build2_amd64.deb
Size: 45228
MD5sum: 0eeed416b835fc5886895e8985e97751
SHA1: 6143c35ab5a8453582c21d1583d33bfa381750f5
SHA256: 60292f0e41d9b504d5d5522bdf8b8e163e723e05c012aec1f7091ff86c7844ee
Homepage: http://rpm.org/
Description: Python bindings for RPM
Description-md5: aa4cfb2b2fed60ef52f60ca70568a619