How To Install perl-JSON.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-JSON.noarch in Amazon Linux 2. perl-JSON.noarch is Parse and convert to JSON (JavaScript Object Notation)

Introduction

In this tutorial we learn how to install perl-JSON.noarch on Amazon Linux 2.

What is perl-JSON.noarch

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

We can use yum to install perl-JSON.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-JSON.noarch.

Install perl-JSON.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-JSON.noarch

How To Uninstall perl-JSON.noarch on Amazon Linux 2

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

sudo yum remove perl-JSON.noarch

perl-JSON.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-JSON-2.59
/usr/share/doc/perl-JSON-2.59/Changes
/usr/share/doc/perl-JSON-2.59/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.noarch on Amazon Linux 2 using yum.