How To Install rpm-build-libs on Rocky Linux 8
Introduction
In this tutorial we learn how to install rpm-build-libs
on Rocky Linux 8.
What is rpm-build-libs
This package contains the RPM shared libraries for building and signing packages.
We can use yum
or dnf
to install rpm-build-libs
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rpm-build-libs.
Install rpm-build-libs on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install rpm-build-libs
using dnf
by running the following command:
sudo dnf -y install rpm-build-libs
Install rpm-build-libs on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install rpm-build-libs
using yum
by running the following command:
sudo yum -y install rpm-build-libs
How To Uninstall rpm-build-libs on Rocky Linux 8
To uninstall only the rpm-build-libs
package we can use the following command:
sudo dnf remove rpm-build-libs
rpm-build-libs Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/77c1ac33fa8d1852da31376123cd9fece88830
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/50463c123660c76d3ee2bf73f7b8ffaccec49b
/usr/lib64/librpmbuild.so.8
/usr/lib64/librpmbuild.so.8.2.0
/usr/lib64/librpmsign.so.8
/usr/lib64/librpmsign.so.8.2.0
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/46c6a194c1b7acddaf608c46ddf8045100f6a0
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/559f580f292ef7fd8a68ffb812c3fbc2bc7988
/usr/lib64/librpmbuild.so.8
/usr/lib64/librpmbuild.so.8.2.0
/usr/lib64/librpmsign.so.8
/usr/lib64/librpmsign.so.8.2.0
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/96d88482e0460832f23e9816c3325e866cd57e
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/564c379c1f02fc24a1893c5ca5fdcf5d5c9295
/usr/lib/librpmbuild.so.8
/usr/lib/librpmbuild.so.8.2.0
/usr/lib/librpmsign.so.8
/usr/lib/librpmsign.so.8.2.0
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/ed42df3ed9a44036a135f3b5837189ef02f96e
/usr/lib/.build-id/37
/usr/lib/.build-id/37/20cf440f82f1e26ce2e90dddf0686acd39abbe
/usr/lib/librpmbuild.so.8
/usr/lib/librpmbuild.so.8.2.0
/usr/lib/librpmsign.so.8
/usr/lib/librpmsign.so.8.2.0
References
Summary
In this tutorial we learn how to install rpm-build-libs
on Rocky Linux 8 using yum and dnf.