How To Install pagure-loadjson on CentOS 7

In this tutorial we learn how to install pagure-loadjson on CentOS 7. pagure-loadjson is The loadjson service for pagure

Introduction

In this tutorial we learn how to install pagure-loadjson on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install pagure-loadjson.

Install pagure-loadjson on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install pagure-loadjson using yum by running the following command:

sudo yum -y install pagure-loadjson

Install pagure-loadjson on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install pagure-loadjson using dnf by running the following command:

sudo dnf -y install pagure-loadjson

How To Uninstall pagure-loadjson on CentOS 7

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

sudo dnf remove pagure-loadjson

References

Summary

In this tutorial we learn how to install pagure-loadjson on CentOS 7 using yum and dnf.