How To Install pagure-loadjson on Rocky Linux 8

In this tutorial we learn how to install pagure-loadjson on Rocky Linux 8. pagure-loadjson is The loadjson service for pagure

Introduction

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

What is pagure-loadjson

pagure-loadjson is the service allowing to update the database with the information provided in the JSON blobs that are stored in the tickets (and in the future pull-requests) git repo.

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

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

sudo dnf -y install pagure-loadjson

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

sudo yum -y install pagure-loadjson

How To Uninstall pagure-loadjson on Rocky Linux 8

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

sudo dnf remove pagure-loadjson

pagure-loadjson Package Contents on Rocky Linux 8

/usr/lib/systemd/system/pagure_loadjson.service
/usr/share/licenses/pagure-loadjson
/usr/share/licenses/pagure-loadjson/LICENSE

References

Summary

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