How To Install librhsm on Fedora 34

librhsm is Red Hat Subscription Manager library Red Hat Subscription Manager library

Introduction

In this tutorial we learn how to install librhsm on Fedora 34.

What is librhsm

Red Hat Subscription Manager library. librhsm 0.0.3 4.fc34 x86_64 35 k librhsm-0.0.3-4.fc34.src.rpm fedora Red Hat Subscription Manager library https LGPLv2.1+ Red Hat Subscription Manager library.

We can use yum or dnf to install librhsm on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install librhsm.

Install librhsm on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install librhsm using dnf by running the following command:

sudo dnf -y install librhsm

Install librhsm on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install librhsm using yum by running the following command:

sudo yum -y install librhsm

How To Uninstall librhsm on Fedora 34

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

sudo dnf remove librhsm

librhsm Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/b1136bb0c51348734126d0e402ae41d1805b47
/usr/lib/librhsm.so.0
/usr/share/doc/librhsm
/usr/share/doc/librhsm/README.md
/usr/share/licenses/librhsm
/usr/share/licenses/librhsm/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/7a485a29ae2c1e9d87b54bb251a9d04d6c2cf5
/usr/lib64/librhsm.so.0
/usr/share/doc/librhsm
/usr/share/doc/librhsm/README.md
/usr/share/licenses/librhsm
/usr/share/licenses/librhsm/COPYING

References

Summary

In this tutorial we learn how to install librhsm on Fedora 34 using yum and dnf.