How To Install python3-rhnpush on Rocky Linux 8

In this tutorial we learn how to install python3-rhnpush on Rocky Linux 8. python3-rhnpush is Package uploader for the Spacewalk or Red Hat Satellite Server

Introduction

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

What is python3-rhnpush

Python 3 specific files for rhnpush.

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

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

sudo dnf -y install python3-rhnpush

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

sudo yum -y install python3-rhnpush

How To Uninstall python3-rhnpush on Rocky Linux 8

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

sudo dnf remove python3-rhnpush

python3-rhnpush Package Contents on Rocky Linux 8

/usr/bin/rhnpush-3.6
/usr/lib/python3.6/site-packages/rhnpush
/usr/lib/python3.6/site-packages/rhnpush/__init__.py
/usr/lib/python3.6/site-packages/rhnpush/__pycache__
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/archive.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/archive.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/connection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/connection.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_cache.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_cache.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_config.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_confmanager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_confmanager.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_main.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_v2.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rhnpush_v2.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rpm2mpm.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/rpm2mpm.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/uploadLib.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/uploadLib.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rhnpush/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/rhnpush/archive.py
/usr/lib/python3.6/site-packages/rhnpush/connection.py
/usr/lib/python3.6/site-packages/rhnpush/rhnpush_cache.py
/usr/lib/python3.6/site-packages/rhnpush/rhnpush_config.py
/usr/lib/python3.6/site-packages/rhnpush/rhnpush_confmanager.py
/usr/lib/python3.6/site-packages/rhnpush/rhnpush_main.py
/usr/lib/python3.6/site-packages/rhnpush/rhnpush_v2.py
/usr/lib/python3.6/site-packages/rhnpush/rpm2mpm.py
/usr/lib/python3.6/site-packages/rhnpush/uploadLib.py
/usr/lib/python3.6/site-packages/rhnpush/utils.py

References

Summary

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