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

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

Introduction

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

What is perl-JSON-PP.noarch

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

We can use yum to install perl-JSON-PP.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-PP.noarch.

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

sudo yum -y install perl-JSON-PP.noarch

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

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

sudo yum remove perl-JSON-PP.noarch

perl-JSON-PP.noarch Package Contents on Amazon Linux 2

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