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

In this tutorial we learn how to install perl-XML-SAX-Base.noarch in Amazon Linux 2. perl-XML-SAX-Base.noarch is Base class SAX drivers and filters

Introduction

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

What is perl-XML-SAX-Base.noarch

This module has a very simple task - to be a base class for Perl SAX drivers and filters. It’s default behaviour is to pass the input directly to the output unchanged. It can be useful to use this module as a base class so you don’t have to, for example, implement the characters() callback.

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

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

sudo yum -y install perl-XML-SAX-Base.noarch

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

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

sudo yum remove perl-XML-SAX-Base.noarch

perl-XML-SAX-Base.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-XML-SAX-Base-1.08
/usr/share/doc/perl-XML-SAX-Base-1.08/BuildSAXBase.pl
/usr/share/doc/perl-XML-SAX-Base-1.08/Changes
/usr/share/doc/perl-XML-SAX-Base-1.08/META.json
/usr/share/doc/perl-XML-SAX-Base-1.08/README
/usr/share/man/man3/XML::SAX::Base.3pm.gz
/usr/share/man/man3/XML::SAX::BuildSAXBase.3pm.gz
/usr/share/man/man3/XML::SAX::Exception.3pm.gz
/usr/share/perl5/vendor_perl/XML
/usr/share/perl5/vendor_perl/XML/SAX
/usr/share/perl5/vendor_perl/XML/SAX/Base.pm
/usr/share/perl5/vendor_perl/XML/SAX/Exception.pm

References

Summary

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