How To Install librpminspect on Rocky Linux 8

In this tutorial we learn how to install librpminspect on Rocky Linux 8. librpminspect is Library providing RPM test API and functionality

Introduction

In this tutorial we learn how to install librpminspect on Rocky Linux 8.

What is librpminspect

The library providing the backend test functionality and API for the rpminspect frontend program. This library can also be used by other programs wanting to incorporate RPM test functionality.

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

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

sudo dnf -y install librpminspect

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

sudo yum -y install librpminspect

How To Uninstall librpminspect on Rocky Linux 8

To uninstall only the librpminspect package we can use the following command:

sudo dnf remove librpminspect

librpminspect Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/6d5fae0a48a7a5c013a724a7984a6885c94b07
/usr/lib64/librpminspect.so.0
/usr/lib64/librpminspect.so.0.5.0
/usr/share/licenses/librpminspect
/usr/share/licenses/librpminspect/COPYING.LIB
/usr/share/licenses/librpminspect/LICENSE-2.0.txt

References

Summary

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