How To Install librhsm-devel on Fedora 36

In this tutorial we learn how to install librhsm-devel in Fedora 36. librhsm-devel is Development libraries and header files for librhsm

Introduction

In this tutorial we learn how to install librhsm-devel on Fedora 36.

What is librhsm-devel

Development libraries and header files for librhsm.

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

Install librhsm-devel on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove librhsm-devel

librhsm-devel Package Contents on Fedora 36

---
title: "How To Install librhsm-devel on Fedora 36"
linkTitle: "librhsm-devel"
type: "docs"
description: "In this tutorial we learn how to install librhsm-devel in Fedora 36. librhsm-devel is Development libraries and header files for librhsm"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/librhsm-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `librhsm-devel` on Fedora 36.

### What is `librhsm-devel`

> Development libraries and header files for librhsm.  

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

## Install librhsm-devel on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
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 Fedora 36 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 Fedora 36

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

sudo dnf remove librhsm-devel

librhsm-devel Package Contents on Fedora 36

/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/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


## References

* [librhsm-devel website](https://github.com/rpm-software-management/librhsm)

## Summary

In this tutorial we learn how to install `librhsm-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).