How To Install python3-rhncfg-actions on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-rhncfg-actions
on Rocky Linux 8.
What is python3-rhncfg-actions
Python 3 specific files for python2-rhncfg-actions.
We can use yum
or dnf
to install python3-rhncfg-actions
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rhncfg-actions.
Install python3-rhncfg-actions 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-actions
using dnf
by running the following command:
sudo dnf -y install python3-rhncfg-actions
Install python3-rhncfg-actions 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-actions
using yum
by running the following command:
sudo yum -y install python3-rhncfg-actions
How To Uninstall python3-rhncfg-actions on Rocky Linux 8
To uninstall only the python3-rhncfg-actions
package we can use the following command:
sudo dnf remove python3-rhncfg-actions
python3-rhncfg-actions Package Contents on Rocky Linux 8
/usr/bin/rhn-actions-control-3.6
/usr/lib/python3.6/site-packages/rhn/actions
/usr/lib/python3.6/site-packages/rhn/actions/ModeController.py
/usr/lib/python3.6/site-packages/rhn/actions/ModeControllerCreator.py
/usr/lib/python3.6/site-packages/rhn/actions/Modes.py
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/ModeController.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/ModeController.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/ModeControllerCreator.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/ModeControllerCreator.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/Modes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/Modes.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/configfiles.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/configfiles.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/rhn-actions-control.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/rhn-actions-control.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/script.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/actions/__pycache__/script.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/actions/configfiles.py
/usr/lib/python3.6/site-packages/rhn/actions/rhn-actions-control.py
/usr/lib/python3.6/site-packages/rhn/actions/script.py
References
Summary
In this tutorial we learn how to install python3-rhncfg-actions
on Rocky Linux 8 using yum and dnf.