How To Install python3-rhncfg-management on Rocky Linux 8

In this tutorial we learn how to install python3-rhncfg-management on Rocky Linux 8. python3-rhncfg-management is Spacewalk Configuration Management Client

Introduction

In this tutorial we learn how to install python3-rhncfg-management on Rocky Linux 8.

What is python3-rhncfg-management

Python 2 specific files for python3-rhncfg-management.

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

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

sudo dnf -y install python3-rhncfg-management

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

sudo yum -y install python3-rhncfg-management

How To Uninstall python3-rhncfg-management on Rocky Linux 8

To uninstall only the python3-rhncfg-management package we can use the following command:

sudo dnf remove python3-rhncfg-management

python3-rhncfg-management Package Contents on Rocky Linux 8

/usr/bin/rhncfg-manager-3.6
/usr/lib/python3.6/site-packages/config_management
/usr/lib/python3.6/site-packages/config_management/__init__.py
/usr/lib/python3.6/site-packages/config_management/__pycache__
/usr/lib/python3.6/site-packages/config_management/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg-manager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg-manager.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_add.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_add.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_create_channel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_create_channel.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_diff.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_diff.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_diff_revisions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_diff_revisions.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_download_channel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_download_channel.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_get.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_get.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_list.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_list.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_list_channels.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_list_channels.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_remove.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_remove.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_remove_channel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_remove_channel.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_revisions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_revisions.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_update.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_update.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_upload_channel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rhncfg_upload_channel.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rpc_repository.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_management/__pycache__/rpc_repository.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_management/rhncfg-manager.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_add.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_create_channel.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_diff.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_diff_revisions.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_download_channel.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_get.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_list.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_list_channels.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_remove.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_remove_channel.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_revisions.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_update.py
/usr/lib/python3.6/site-packages/config_management/rhncfg_upload_channel.py
/usr/lib/python3.6/site-packages/config_management/rpc_repository.py

References

Summary

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