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

In this tutorial we learn how to install perl-XML-Dumper.noarch in Amazon Linux 2. perl-XML-Dumper.noarch is Perl module for dumping Perl objects from/to XML

Introduction

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

What is perl-XML-Dumper.noarch

XML read XML data that were previously dumped by the module and convert it back to Perl. Perl objects are blessed back to their original packaging; if the modules are installed on the system where the perl objects are reconstituted from xml, they will behave as expected. Intuitively, if the perl objects are converted and reconstituted in the same environment, all should be well.

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

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

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

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

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

sudo yum remove perl-XML-Dumper.noarch

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

/usr/share/doc/perl-XML-Dumper-0.81
/usr/share/doc/perl-XML-Dumper-0.81/Changes
/usr/share/doc/perl-XML-Dumper-0.81/README
/usr/share/man/man3/XML::Dumper.3pm.gz
/usr/share/perl5/vendor_perl/XML
/usr/share/perl5/vendor_perl/XML/Dumper.pm

References

Summary

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