How to Install and Uninstall python-rpm-macros.noarch Package on Amazon Linux 2

Last updated: January 09,2025

1. Install "python-rpm-macros.noarch" package

Learn how to install python-rpm-macros.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python-rpm-macros.noarch

2. Uninstall "python-rpm-macros.noarch" package

This is a short guide on how to uninstall python-rpm-macros.noarch on Amazon Linux 2:

$ sudo yum remove python-rpm-macros.noarch $ sudo yum autoremove

3. Information about the python-rpm-macros.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : python-rpm-macros
Arch : noarch
Version : 3
Release : 60.amzn2.0.1
Size : 14 k
Repo : amzn2-core/2/x86_64
Summary : The unversioned Python RPM macros
License : MIT and Python
Description : This package contains the unversioned Python RPM macros, that most
: implementations should rely on.
:
: You should not need to install this package manually as the
: various python?-devel packages require it. So install a
: python-devel package instead.