How To Install perl-JSON on Fedora 36

In this tutorial we learn how to install perl-JSON in Fedora 36. perl-JSON is Parse and convert to JSON (JavaScript Object Notation)

Introduction

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

What is perl-JSON

This module converts between JSON (JavaScript Object Notation) and Perl data structure into each other. For JSON, see http

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

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

sudo dnf -y install perl-JSON

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

sudo yum -y install perl-JSON

How To Uninstall perl-JSON on Fedora 36

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

sudo dnf remove perl-JSON

perl-JSON Package Contents on Fedora 36

/usr/share/doc/perl-JSON
/usr/share/doc/perl-JSON/Changes
/usr/share/doc/perl-JSON/README
/usr/share/man/man3/JSON.3pm.gz
/usr/share/man/man3/JSON::backportPP.3pm.gz
/usr/share/man/man3/JSON::backportPP::Boolean.3pm.gz
/usr/share/man/man3/JSON::backportPP::Compat5005.3pm.gz
/usr/share/man/man3/JSON::backportPP::Compat5006.3pm.gz
/usr/share/perl5/vendor_perl/JSON
/usr/share/perl5/vendor_perl/JSON.pm
/usr/share/perl5/vendor_perl/JSON/backportPP
/usr/share/perl5/vendor_perl/JSON/backportPP.pm
/usr/share/perl5/vendor_perl/JSON/backportPP/Boolean.pm
/usr/share/perl5/vendor_perl/JSON/backportPP/Compat5005.pm
/usr/share/perl5/vendor_perl/JSON/backportPP/Compat5006.pm

References

Summary

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