How To Install python3-rhnlib on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-rhnlib
on Rocky Linux 8.
What is python3-rhnlib
rhnlib is a collection of python modules used by the Spacewalk (http
We can use yum
or dnf
to install python3-rhnlib
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rhnlib.
Install python3-rhnlib 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-rhnlib
using dnf
by running the following command:
sudo dnf -y install python3-rhnlib
Install python3-rhnlib 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-rhnlib
using yum
by running the following command:
sudo yum -y install python3-rhnlib
How To Uninstall python3-rhnlib on Rocky Linux 8
To uninstall only the python3-rhnlib
package we can use the following command:
sudo dnf remove python3-rhnlib
python3-rhnlib Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/rhn
/usr/lib/python3.6/site-packages/rhn/SSL.py
/usr/lib/python3.6/site-packages/rhn/SmartIO.py
/usr/lib/python3.6/site-packages/rhn/UserDictCase.py
/usr/lib/python3.6/site-packages/rhn/__init__.py
/usr/lib/python3.6/site-packages/rhn/__pycache__
/usr/lib/python3.6/site-packages/rhn/__pycache__/SSL.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/SSL.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/SmartIO.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/SmartIO.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/UserDictCase.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/UserDictCase.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/connections.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/connections.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/i18n.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/i18n.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/nonblocking.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/nonblocking.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/rhnLockfile.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/rhnLockfile.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/rpclib.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/rpclib.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/tb.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/tb.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/transports.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhn/__pycache__/transports.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhn/connections.py
/usr/lib/python3.6/site-packages/rhn/i18n.py
/usr/lib/python3.6/site-packages/rhn/nonblocking.py
/usr/lib/python3.6/site-packages/rhn/rhnLockfile.py
/usr/lib/python3.6/site-packages/rhn/rpclib.py
/usr/lib/python3.6/site-packages/rhn/tb.py
/usr/lib/python3.6/site-packages/rhn/transports.py
/usr/lib/python3.6/site-packages/rhnlib-2.8.6-py3.6.egg-info
/usr/share/doc/python3-rhnlib
/usr/share/doc/python3-rhnlib/COPYING
/usr/share/doc/python3-rhnlib/ChangeLog
/usr/share/doc/python3-rhnlib/README
/usr/share/doc/python3-rhnlib/TODO
References
Summary
In this tutorial we learn how to install python3-rhnlib
on Rocky Linux 8 using yum and dnf.