How To Install python3-rhn-setup on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-rhn-setup
on Rocky Linux 8.
What is python3-rhn-setup
Python 3 specific files for rhn-setup.
We can use yum
or dnf
to install python3-rhn-setup
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rhn-setup.
Install python3-rhn-setup 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-setup
using dnf
by running the following command:
sudo dnf -y install python3-rhn-setup
Install python3-rhn-setup 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-setup
using yum
by running the following command:
sudo yum -y install python3-rhn-setup
How To Uninstall python3-rhn-setup on Rocky Linux 8
To uninstall only the python3-rhn-setup
package we can use the following command:
sudo dnf remove python3-rhn-setup
python3-rhn-setup Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/pmPlugin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/pmPlugin.cpython-36.pyc
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/rhnreg.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/rhnreg.cpython-36.pyc
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/rhnreg_constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/rhnreg_constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/tui.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/up2date_client/__pycache__/tui.cpython-36.pyc
/usr/lib/python3.6/site-packages/up2date_client/pmPlugin.py
/usr/lib/python3.6/site-packages/up2date_client/rhnreg.py
/usr/lib/python3.6/site-packages/up2date_client/rhnreg_constants.py
/usr/lib/python3.6/site-packages/up2date_client/tui.py
/usr/sbin/rhn_register-3.6
/usr/sbin/rhnreg_ks-3.6
/usr/sbin/spacewalk-channel-3.6
References
Summary
In this tutorial we learn how to install python3-rhn-setup
on Rocky Linux 8 using yum and dnf.