How To Install python3-koji-hub on Rocky Linux 8

In this tutorial we learn how to install python3-koji-hub on Rocky Linux 8. python3-koji-hub is Koji XMLRPC interface

Introduction

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

What is python3-koji-hub

koji-hub is the XMLRPC interface to the koji database

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

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

sudo dnf -y install python3-koji-hub

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

sudo yum -y install python3-koji-hub

How To Uninstall python3-koji-hub on Rocky Linux 8

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

sudo dnf remove python3-koji-hub

python3-koji-hub Package Contents on Rocky Linux 8

/usr/share/koji-hub/__init__.py
/usr/share/koji-hub/__pycache__
/usr/share/koji-hub/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/share/koji-hub/__pycache__/__init__.cpython-36.pyc
/usr/share/koji-hub/__pycache__/kojihub.cpython-36.opt-1.pyc
/usr/share/koji-hub/__pycache__/kojihub.cpython-36.pyc
/usr/share/koji-hub/__pycache__/kojixmlrpc.cpython-36.opt-1.pyc
/usr/share/koji-hub/__pycache__/kojixmlrpc.cpython-36.pyc
/usr/share/koji-hub/kojihub.py
/usr/share/koji-hub/kojixmlrpc.py

References

Summary

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