How To Install perl-Exception-Class.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Exception-Class.noarch in Amazon Linux 2. perl-Exception-Class.noarch is Module that allows you to declare real exception classes in Perl

Introduction

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

What is perl-Exception-Class.noarch

Exception your modules in a “Java-esque” manner.

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

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

sudo yum -y install perl-Exception-Class.noarch

How To Uninstall perl-Exception-Class.noarch on Amazon Linux 2

To uninstall only the perl-Exception-Class.noarch package we can use the following command:

sudo yum remove perl-Exception-Class.noarch

perl-Exception-Class.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Exception-Class-1.37
/usr/share/doc/perl-Exception-Class-1.37/Changes
/usr/share/doc/perl-Exception-Class-1.37/LICENSE
/usr/share/doc/perl-Exception-Class-1.37/README
/usr/share/man/man3/Exception::Class.3pm.gz
/usr/share/man/man3/Exception::Class::Base.3pm.gz
/usr/share/perl5/vendor_perl/Exception
/usr/share/perl5/vendor_perl/Exception/Class
/usr/share/perl5/vendor_perl/Exception/Class.pm
/usr/share/perl5/vendor_perl/Exception/Class/Base.pm

References

Summary

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