How To Install librhsm-devel on Rocky Linux 8

In this tutorial we learn how to install librhsm-devel on Rocky Linux 8. librhsm-devel is Development libraries and header files for librhsm

Introduction

In this tutorial we learn how to install librhsm-devel on Rocky Linux 8.

What is librhsm-devel

Development libraries and header files for librhsm.

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

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

sudo dnf -y install librhsm-devel

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

sudo yum -y install librhsm-devel

How To Uninstall librhsm-devel on Rocky Linux 8

To uninstall only the librhsm-devel package we can use the following command:

sudo dnf remove librhsm-devel

librhsm-devel Package Contents on Rocky Linux 8

/usr/include/rhsm
/usr/include/rhsm/rhsm-context.h
/usr/include/rhsm/rhsm-entitlement-certificate.h
/usr/include/rhsm/rhsm-product-certificate.h
/usr/include/rhsm/rhsm-utils.h
/usr/include/rhsm/rhsm.h
/usr/lib/librhsm.so
/usr/lib/pkgconfig/librhsm.pc
/usr/include/rhsm
/usr/include/rhsm/rhsm-context.h
/usr/include/rhsm/rhsm-entitlement-certificate.h
/usr/include/rhsm/rhsm-product-certificate.h
/usr/include/rhsm/rhsm-utils.h
/usr/include/rhsm/rhsm.h
/usr/lib64/librhsm.so
/usr/lib64/pkgconfig/librhsm.pc

References

Summary

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