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

In this tutorial we learn how to install perl-Test-Exception.noarch in Amazon Linux 2. perl-Test-Exception.noarch is Library of test functions for exception based Perl code

Introduction

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

What is perl-Test-Exception.noarch

This module provides a few convenience methods for testing exception based code. It is built with Test happily with Test

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

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

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

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

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

sudo yum remove perl-Test-Exception.noarch

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

/usr/share/doc/perl-Test-Exception-0.32
/usr/share/doc/perl-Test-Exception-0.32/Changes
/usr/share/doc/perl-Test-Exception-0.32/README
/usr/share/man/man3/Test::Exception.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Exception.pm

References

Summary

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