How To Install python3-rhn-check on Rocky Linux 8

In this tutorial we learn how to install python3-rhn-check on Rocky Linux 8. python3-rhn-check is Support programs and libraries for Red Hat Satellite or Spacewalk

Introduction

In this tutorial we learn how to install python3-rhn-check on Rocky Linux 8.

What is python3-rhn-check

Python 3 specific files for rhn-check.

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

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

sudo dnf -y install python3-rhn-check

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

sudo yum -y install python3-rhn-check

How To Uninstall python3-rhn-check on Rocky Linux 8

To uninstall only the python3-rhn-check package we can use the following command:

sudo dnf remove python3-rhn-check

python3-rhn-check Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/rhn
/usr/lib/python3.6/site-packages/rhn/actions
/usr/lib/python3.6/site-packages/rhn/actions/__init__.py
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/hardware.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/hardware.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/reboot.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/reboot.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/rhnsd.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/rhnsd.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/systemid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/systemid.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/up2date_config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/up2date_config.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/hardware.py
/usr/lib/python3.6/site-packages/rhn/actions/reboot.py
/usr/lib/python3.6/site-packages/rhn/actions/rhnsd.py
/usr/lib/python3.6/site-packages/rhn/actions/systemid.py
/usr/lib/python3.6/site-packages/rhn/actions/up2date_config.py
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/getMethod.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/getMethod.cpython-36.pyc
/usr/lib/python3.6/site-packages/up2date_client/getMethod.py
/usr/sbin/rhn_check-3.6

References

Summary

In this tutorial we learn how to install python3-rhn-check on Rocky Linux 8 using yum and dnf.