How To Install perl-JSON-Path on Fedora 36

In this tutorial we learn how to install perl-JSON-Path in Fedora 36. perl-JSON-Path is Search nested hashref/arrayref structures using JSONPath

Introduction

In this tutorial we learn how to install perl-JSON-Path on Fedora 36.

What is perl-JSON-Path

This module implements JSONPath, an XPath-like language for searching JSON- like structures.

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

Install perl-JSON-Path on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-JSON-Path using dnf by running the following command:

sudo dnf -y install perl-JSON-Path

Install perl-JSON-Path on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-JSON-Path using yum by running the following command:

sudo yum -y install perl-JSON-Path

How To Uninstall perl-JSON-Path on Fedora 36

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

sudo dnf remove perl-JSON-Path

perl-JSON-Path Package Contents on Fedora 36

/usr/share/doc/perl-JSON-Path
/usr/share/doc/perl-JSON-Path/Changes
/usr/share/doc/perl-JSON-Path/README
/usr/share/licenses/perl-JSON-Path
/usr/share/licenses/perl-JSON-Path/LICENSE
/usr/share/man/man3/JSON::Path.3pm.gz
/usr/share/man/man3/JSON::Path::Constants.3pm.gz
/usr/share/man/man3/JSON::Path::Evaluator.3pm.gz
/usr/share/man/man3/JSON::Path::Tokenizer.3pm.gz
/usr/share/perl5/vendor_perl/JSON
/usr/share/perl5/vendor_perl/JSON/Path
/usr/share/perl5/vendor_perl/JSON/Path.pm
/usr/share/perl5/vendor_perl/JSON/Path/Constants.pm
/usr/share/perl5/vendor_perl/JSON/Path/Evaluator.pm
/usr/share/perl5/vendor_perl/JSON/Path/Tokenizer.pm

References

Summary

In this tutorial we learn how to install perl-JSON-Path on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).