How To Install python3-subscription-manager-rhsm on Fedora 36

In this tutorial we learn how to install python3-subscription-manager-rhsm in Fedora 36. python3-subscription-manager-rhsm is A Python library to communicate with a Red Hat Unified Entitlement Platform

Introduction

In this tutorial we learn how to install python3-subscription-manager-rhsm on Fedora 36.

What is python3-subscription-manager-rhsm

A small library for communicating with the REST interface of a Red Hat Unified Entitlement Platform. This interface is used for the management of system entitlements, certificates, and access to content.

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

Install python3-subscription-manager-rhsm 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 python3-subscription-manager-rhsm using dnf by running the following command:

sudo dnf -y install python3-subscription-manager-rhsm

Install python3-subscription-manager-rhsm 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 python3-subscription-manager-rhsm using yum by running the following command:

sudo yum -y install python3-subscription-manager-rhsm

How To Uninstall python3-subscription-manager-rhsm on Fedora 36

To uninstall only the python3-subscription-manager-rhsm package we can use the following command:

sudo dnf remove python3-subscription-manager-rhsm

python3-subscription-manager-rhsm Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/1fa44820398d5f9b010c1700017b64e5cdc03e
/usr/lib64/python3.10/site-packages/rhsm
/usr/lib64/python3.10/site-packages/rhsm/__init__.py
/usr/lib64/python3.10/site-packages/rhsm/__pycache__
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/bitstream.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/bitstream.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/certificate.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/certificate.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/certificate2.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/certificate2.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/config.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/connection.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/connection.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/https.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/https.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/huffman.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/huffman.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/logutil.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/logutil.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/ourjson.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/ourjson.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/pathtree.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/pathtree.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/profile.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/profile.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/rhsm/__pycache__/utils.cpython-310.pyc
/usr/lib64/python3.10/site-packages/rhsm/_certificate.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/rhsm/bitstream.py
/usr/lib64/python3.10/site-packages/rhsm/certificate.py
/usr/lib64/python3.10/site-packages/rhsm/certificate2.py
/usr/lib64/python3.10/site-packages/rhsm/config.py
/usr/lib64/python3.10/site-packages/rhsm/connection.py
/usr/lib64/python3.10/site-packages/rhsm/https.py
/usr/lib64/python3.10/site-packages/rhsm/huffman.py
/usr/lib64/python3.10/site-packages/rhsm/logutil.py
/usr/lib64/python3.10/site-packages/rhsm/ourjson.py
/usr/lib64/python3.10/site-packages/rhsm/pathtree.py
/usr/lib64/python3.10/site-packages/rhsm/profile.py
/usr/lib64/python3.10/site-packages/rhsm/utils.py

References

Summary

In this tutorial we learn how to install python3-subscription-manager-rhsm on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).