How To Install rpm-libs on Rocky Linux 8

In this tutorial we learn how to install rpm-libs on Rocky Linux 8. rpm-libs is Libraries for manipulating RPM packages

Introduction

In this tutorial we learn how to install rpm-libs on Rocky Linux 8.

What is rpm-libs

This package contains the RPM shared libraries.

We can use yum or dnf to install rpm-libs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rpm-libs.

Install rpm-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-libs using dnf by running the following command:

sudo dnf -y install rpm-libs

Install rpm-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-libs using yum by running the following command:

sudo yum -y install rpm-libs

How To Uninstall rpm-libs on Rocky Linux 8

To uninstall only the rpm-libs package we can use the following command:

sudo dnf remove rpm-libs

rpm-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/00c7282206462363ce9bcbf5f4012cc14e4d75
/usr/lib/.build-id/dd/5ca68d842de010f7282b82410620105fa1db75
/usr/lib64/librpm.so.8
/usr/lib64/librpm.so.8.2.0
/usr/lib64/librpmio.so.8
/usr/lib64/librpmio.so.8.2.0
/usr/lib64/rpm-plugins
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/94db9599e8d9eeef8515fcc6dd6444358f3cf2
/usr/lib/.build-id/f9/bf5d6be6b322eae7c757a47e3c1429d8578d15
/usr/lib64/librpm.so.8
/usr/lib64/librpm.so.8.2.0
/usr/lib64/librpmio.so.8
/usr/lib64/librpmio.so.8.2.0
/usr/lib64/rpm-plugins
/usr/lib/.build-id
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/25ec4b48e31dbb0d979fdef1f992f8f537e4d3
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/8a17174112f8bcf08ee41e4b042695b3705902
/usr/lib/librpm.so.8
/usr/lib/librpm.so.8.2.0
/usr/lib/librpmio.so.8
/usr/lib/librpmio.so.8.2.0
/usr/lib/rpm-plugins
/usr/lib/.build-id
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/7a6b9cde60811bbafdc4fd1ae7a2336b0cb3f6
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/1bbb9c596ba014461e63ce4b38a979edc1f367
/usr/lib/librpm.so.8
/usr/lib/librpm.so.8.2.0
/usr/lib/librpmio.so.8
/usr/lib/librpmio.so.8.2.0
/usr/lib/rpm-plugins

References

Summary

In this tutorial we learn how to install rpm-libs on Rocky Linux 8 using yum and dnf.