How To Install qt5-rpm-macros.noarch on Amazon Linux 2

In this tutorial we learn how to install qt5-rpm-macros.noarch in Amazon Linux 2. qt5-rpm-macros.noarch is RPM macros for Qt5

Introduction

In this tutorial we learn how to install qt5-rpm-macros.noarch on Amazon Linux 2.

What is qt5-rpm-macros.noarch

RPM macros for building Qt5 packages.

We can use yum to install qt5-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 qt5-rpm-macros.noarch.

Install qt5-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 qt5-rpm-macros.noarch using yum by running the following command:

sudo yum -y install qt5-rpm-macros.noarch

How To Uninstall qt5-rpm-macros.noarch on Amazon Linux 2

To uninstall only the qt5-rpm-macros.noarch package we can use the following command:

sudo yum remove qt5-rpm-macros.noarch

qt5-rpm-macros.noarch Package Contents on Amazon Linux 2

/usr/lib/rpm/macros.d/macros.qt5

References

Summary

In this tutorial we learn how to install qt5-rpm-macros.noarch on Amazon Linux 2 using yum.