How To Install pagure-webhook on Rocky Linux 8

In this tutorial we learn how to install pagure-webhook on Rocky Linux 8. pagure-webhook is Web-Hook server for pagure

Introduction

In this tutorial we learn how to install pagure-webhook on Rocky Linux 8.

What is pagure-webhook

Pagure comes with an webhook server allowing http callbacks for any action done on a project. This package provides it.

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

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

sudo dnf -y install pagure-webhook

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

sudo yum -y install pagure-webhook

How To Uninstall pagure-webhook on Rocky Linux 8

To uninstall only the pagure-webhook package we can use the following command:

sudo dnf remove pagure-webhook

pagure-webhook Package Contents on Rocky Linux 8

/usr/lib/systemd/system/pagure_webhook.service
/usr/share/licenses/pagure-webhook
/usr/share/licenses/pagure-webhook/LICENSE

References

Summary

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