How To Install python3-rhncfg on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-rhncfg
on Rocky Linux 8.
What is python3-rhncfg
Python 3 specific files for rhncfg.
We can use yum
or dnf
to install python3-rhncfg
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rhncfg.
Install python3-rhncfg 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
using dnf
by running the following command:
sudo dnf -y install python3-rhncfg
Install python3-rhncfg 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
using yum
by running the following command:
sudo yum -y install python3-rhncfg
How To Uninstall python3-rhncfg on Rocky Linux 8
To uninstall only the python3-rhncfg
package we can use the following command:
sudo dnf remove python3-rhncfg
python3-rhncfg Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/config_common
/usr/lib/python3.6/site-packages/config_common/__init__.py
/usr/lib/python3.6/site-packages/config_common/__pycache__
/usr/lib/python3.6/site-packages/config_common/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/cfg_exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/cfg_exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/deploy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/deploy.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/file_utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/file_utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/handler_base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/handler_base.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/local_config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/local_config.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/repository.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/repository.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/rhn_log.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/rhn_log.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/rhn_main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/rhn_main.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/rpc_wrapper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/rpc_wrapper.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/transactions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/transactions.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/config_common/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/config_common/cfg_exceptions.py
/usr/lib/python3.6/site-packages/config_common/deploy.py
/usr/lib/python3.6/site-packages/config_common/file_utils.py
/usr/lib/python3.6/site-packages/config_common/handler_base.py
/usr/lib/python3.6/site-packages/config_common/local_config.py
/usr/lib/python3.6/site-packages/config_common/repository.py
/usr/lib/python3.6/site-packages/config_common/rhn_log.py
/usr/lib/python3.6/site-packages/config_common/rhn_main.py
/usr/lib/python3.6/site-packages/config_common/rpc_wrapper.py
/usr/lib/python3.6/site-packages/config_common/transactions.py
/usr/lib/python3.6/site-packages/config_common/utils.py
References
Summary
In this tutorial we learn how to install python3-rhncfg
on Rocky Linux 8 using yum and dnf.