How to Install and Uninstall python2-rpm.x86_64 Package on Amazon Linux 2

Last updated: January 10,2025

1. Install "python2-rpm.x86_64" package

In this section, we are going to explain the necessary steps to install python2-rpm.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python2-rpm.x86_64

2. Uninstall "python2-rpm.x86_64" package

This is a short guide on how to uninstall python2-rpm.x86_64 on Amazon Linux 2:

$ sudo yum remove python2-rpm.x86_64 $ sudo yum autoremove

3. Information about the python2-rpm.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : python2-rpm
Arch : x86_64
Version : 4.11.3
Release : 40.amzn2.0.6
Size : 146 k
Repo : installed
Summary : Python 2 bindings for apps which will manipulate RPM packages
URL : http://www.rpm.org/
License : GPLv2+
Description : The python2-rpm package contains a module that permits
: applications written in the Python programming language to use the
: interface supplied by RPM Package Manager libraries.
:
: This package should be installed if you want to develop Python 2
: programs that will manipulate RPM packages and databases.