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

In this tutorial we learn how to install perl-JSON-Parse on Rocky Linux 8. perl-JSON-Parse is Read JSON into a Perl variable

Introduction

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

What is perl-JSON-Parse

A Perl module for parsing JSON. (JSON means “JavaScript Object Notation” and it is specified in “RFC 7159”.)

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

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

sudo dnf -y install perl-JSON-Parse

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

sudo yum -y install perl-JSON-Parse

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

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

sudo dnf remove perl-JSON-Parse

perl-JSON-Parse Package Contents on Rocky Linux 8

/usr/bin/validjson
/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/8f2813d5e0587ca6e1cc4a97a0f1d74ed55ba1
/usr/lib64/perl5/vendor_perl/JSON
/usr/lib64/perl5/vendor_perl/JSON/Parse.pm
/usr/lib64/perl5/vendor_perl/JSON/Parse.pod
/usr/lib64/perl5/vendor_perl/JSON/Tokenize.pm
/usr/lib64/perl5/vendor_perl/JSON/Tokenize.pod
/usr/lib64/perl5/vendor_perl/auto/JSON
/usr/lib64/perl5/vendor_perl/auto/JSON/Parse
/usr/lib64/perl5/vendor_perl/auto/JSON/Parse/Parse.so
/usr/share/doc/perl-JSON-Parse
/usr/share/doc/perl-JSON-Parse/Changes
/usr/share/doc/perl-JSON-Parse/README
/usr/share/doc/perl-JSON-Parse/examples
/usr/share/doc/perl-JSON-Parse/examples/array.pl
/usr/share/doc/perl-JSON-Parse/examples/assert.pl
/usr/share/doc/perl-JSON-Parse/examples/bad-utf8.pl
/usr/share/doc/perl-JSON-Parse/examples/bad-utf8.txt
/usr/share/doc/perl-JSON-Parse/examples/chr.pl
/usr/share/doc/perl-JSON-Parse/examples/collide.pl
/usr/share/doc/perl-JSON-Parse/examples/ebi.pl
/usr/share/doc/perl-JSON-Parse/examples/first-bit.pl
/usr/share/doc/perl-JSON-Parse/examples/hash.pl
/usr/share/doc/perl-JSON-Parse/examples/json-tiny-round-trip-demo.pl
/usr/share/doc/perl-JSON-Parse/examples/kani.pl
/usr/share/doc/perl-JSON-Parse/examples/key-collision.pl
/usr/share/doc/perl-JSON-Parse/examples/long-number.pl
/usr/share/doc/perl-JSON-Parse/examples/sasori.pl
/usr/share/doc/perl-JSON-Parse/examples/synopsis.pl
/usr/share/doc/perl-JSON-Parse/examples/tokenize-synopsis.pl
/usr/share/doc/perl-JSON-Parse/examples/true-subs.pl
/usr/share/doc/perl-JSON-Parse/examples/unicode-details.pl
/usr/share/man/man3/JSON::Parse.3pm.gz
/usr/share/man/man3/JSON::Tokenize.3pm.gz

References

Summary

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