How To Install build-constraints-rpm-macros on Fedora 36
Introduction
In this tutorial we learn how to install build-constraints-rpm-macros
on Fedora 36.
What is build-constraints-rpm-macros
This package contains macros to constraint resource use during the build process.
We can use yum
or dnf
to install build-constraints-rpm-macros
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install build-constraints-rpm-macros.
Install build-constraints-rpm-macros on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install build-constraints-rpm-macros
using dnf
by running the following command:
sudo dnf -y install build-constraints-rpm-macros
Install build-constraints-rpm-macros on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install build-constraints-rpm-macros
using yum
by running the following command:
sudo yum -y install build-constraints-rpm-macros
How To Uninstall build-constraints-rpm-macros on Fedora 36
To uninstall only the build-constraints-rpm-macros
package we can use the following command:
sudo dnf remove build-constraints-rpm-macros
build-constraints-rpm-macros Package Contents on Fedora 36
/usr/lib/rpm/macros.d/macros.build-constraints
/usr/share/licenses/build-constraints-rpm-macros
/usr/share/licenses/build-constraints-rpm-macros/LICENSE
References
Summary
In this tutorial we learn how to install build-constraints-rpm-macros
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).