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

In this tutorial we learn how to install perl-XML-Writer.noarch in Amazon Linux 2. perl-XML-Writer.noarch is A simple Perl module for writing XML documents

Introduction

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

What is perl-XML-Writer.noarch

XML takes care of constructing markup and escaping data correctly, and by default, it also performs a significant amount of well-formedness checking on the output, to make certain (for example) that start and end tags match, that there is exactly one document element, and that there are not duplicate attribute names.

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

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

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

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

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

sudo yum remove perl-XML-Writer.noarch

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

/usr/share/doc/perl-XML-Writer-0.623
/usr/share/doc/perl-XML-Writer-0.623/Changes
/usr/share/doc/perl-XML-Writer-0.623/LICENSE
/usr/share/doc/perl-XML-Writer-0.623/README
/usr/share/doc/perl-XML-Writer-0.623/TODO
/usr/share/doc/perl-XML-Writer-0.623/examples
/usr/share/doc/perl-XML-Writer-0.623/examples/data-mode-sample.pl
/usr/share/doc/perl-XML-Writer-0.623/examples/directory-as-atom.pl
/usr/share/doc/perl-XML-Writer-0.623/examples/double-escaping-example.pl
/usr/share/doc/perl-XML-Writer-0.623/examples/namespace-prefixes.pl
/usr/share/doc/perl-XML-Writer-0.623/examples/simple-xml.pl
/usr/share/doc/perl-XML-Writer-0.623/examples/writing-unicode.pl
/usr/share/doc/perl-XML-Writer-0.623/examples/xml-writer-string.pl
/usr/share/man/man3/XML::Writer.3pm.gz
/usr/share/perl5/vendor_perl/XML
/usr/share/perl5/vendor_perl/XML/Writer.pm

References

Summary

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