How To Install python2-rpm-macros.noarch on Amazon Linux 2
In this tutorial we learn how to install python2-rpm-macros.noarch in Amazon Linux 2. python2-rpm-macros.noarch is RPM macros for building Python 2 packages
Introduction
In this tutorial we learn how to install python2-rpm-macros.noarch
on Amazon Linux 2.
What is python2-rpm-macros.noarch
RPM macros for building Python 2 packages.
We can use yum
to install python2-rpm-macros.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python2-rpm-macros.noarch.
Install python2-rpm-macros.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python2-rpm-macros.noarch
using yum
by running the following command:
sudo yum -y install python2-rpm-macros.noarch
How To Uninstall python2-rpm-macros.noarch on Amazon Linux 2
To uninstall only the python2-rpm-macros.noarch
package we can use the following command:
sudo yum remove python2-rpm-macros.noarch
python2-rpm-macros.noarch Package Contents on Amazon Linux 2
/usr/lib/rpm/macros.d/macros.python2
References
Summary
In this tutorial we learn how to install python2-rpm-macros.noarch
on Amazon Linux 2 using yum.