How To Install koji-hub on Rocky Linux 8

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

Introduction

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

What is koji-hub

koji-hub is the XMLRPC interface to the koji database

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

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

sudo dnf -y install koji-hub

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

sudo yum -y install koji-hub

How To Uninstall koji-hub on Rocky Linux 8

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

sudo dnf remove koji-hub

koji-hub Package Contents on Rocky Linux 8

/etc/httpd/conf.d/kojihub.conf
/etc/koji-hub
/etc/koji-hub/hub.conf
/etc/koji-hub/hub.conf.d
/usr/lib/systemd/system/koji-sweep-db.service
/usr/lib/systemd/system/koji-sweep-db.timer
/usr/sbin/koji-sweep-db

References

Summary

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