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

In this tutorial we learn how to install perl-XML-RegExp.noarch in Amazon Linux 2. perl-XML-RegExp.noarch is Regular expressions for XML tokens

Introduction

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

What is perl-XML-RegExp.noarch

This package contains an utility module containing regular expressions for the following XML tokens Letter, Digit, Extender, CombiningChar, NameChar, EntityRef, CharRef, Reference, Name, NmToken, and AttValue.

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

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

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

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

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

sudo yum remove perl-XML-RegExp.noarch

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

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

References

Summary

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