How To Install perl-JSON-PP on Rocky Linux 8

In this tutorial we learn how to install perl-JSON-PP on Rocky Linux 8. perl-JSON-PP is JSON

Introduction

In this tutorial we learn how to install perl-JSON-PP on Rocky Linux 8.

What is perl-JSON-PP

JSON Marc Lehmann in C, so must be compiled and installed in the used environment. JSON

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

Install perl-JSON-PP 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 perl-JSON-PP using dnf by running the following command:

sudo dnf -y install perl-JSON-PP

Install perl-JSON-PP 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 perl-JSON-PP using yum by running the following command:

sudo yum -y install perl-JSON-PP

How To Uninstall perl-JSON-PP on Rocky Linux 8

To uninstall only the perl-JSON-PP package we can use the following command:

sudo dnf remove perl-JSON-PP

perl-JSON-PP Package Contents on Rocky Linux 8

/usr/bin/json_pp
/usr/share/doc/perl-JSON-PP
/usr/share/doc/perl-JSON-PP/Changes
/usr/share/doc/perl-JSON-PP/README
/usr/share/man/man1/json_pp.1.gz
/usr/share/man/man3/JSON::PP.3pm.gz
/usr/share/man/man3/JSON::PP::Boolean.3pm.gz
/usr/share/perl5/vendor_perl/JSON
/usr/share/perl5/vendor_perl/JSON/PP
/usr/share/perl5/vendor_perl/JSON/PP.pm
/usr/share/perl5/vendor_perl/JSON/PP/Boolean.pm

References

Summary

In this tutorial we learn how to install perl-JSON-PP on Rocky Linux 8 using yum and dnf.