How To Install perl-XML-Simple.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-XML-Simple.noarch in Amazon Linux 2. perl-XML-Simple.noarch is Easy API to maintain XML in Perl

Introduction

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

What is perl-XML-Simple.noarch

The XML underlying XML parsing module (either XML SAX2 parser modules).

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

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

sudo yum -y install perl-XML-Simple.noarch

How To Uninstall perl-XML-Simple.noarch on Amazon Linux 2

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

sudo yum remove perl-XML-Simple.noarch

perl-XML-Simple.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-XML-Simple-2.20
/usr/share/doc/perl-XML-Simple-2.20/Changes
/usr/share/doc/perl-XML-Simple-2.20/README
/usr/share/man/man3/XML::Simple.3pm.gz
/usr/share/man/man3/XML::Simple::FAQ.3pm.gz
/usr/share/perl5/vendor_perl/XML
/usr/share/perl5/vendor_perl/XML/Simple
/usr/share/perl5/vendor_perl/XML/Simple.pm
/usr/share/perl5/vendor_perl/XML/Simple/FAQ.pod

References

Summary

In this tutorial we learn how to install perl-XML-Simple.noarch on Amazon Linux 2 using yum.