How To Install perl-Carp-Clan.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Carp-Clan.noarch in Amazon Linux 2. perl-Carp-Clan.noarch is Perl module to print improved warning messages

Introduction

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

What is perl-Carp-Clan.noarch

This module reports errors from the perspective of the caller of a “clan” of modules, similar to “Carp.pm” itself. But instead of giving it a number of levels to skip on the calling stack, you give it a pattern to characterize the package names of the “clan” of modules which shall never be blamed for any error.

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

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

sudo yum -y install perl-Carp-Clan.noarch

How To Uninstall perl-Carp-Clan.noarch on Amazon Linux 2

To uninstall only the perl-Carp-Clan.noarch package we can use the following command:

sudo yum remove perl-Carp-Clan.noarch

perl-Carp-Clan.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Carp-Clan-6.04
/usr/share/doc/perl-Carp-Clan-6.04/Artistic.txt
/usr/share/doc/perl-Carp-Clan-6.04/Changes
/usr/share/doc/perl-Carp-Clan-6.04/GNU_GPL.txt
/usr/share/doc/perl-Carp-Clan-6.04/README
/usr/share/man/man3/Carp::Clan.3pm.gz
/usr/share/perl5/vendor_perl/Carp
/usr/share/perl5/vendor_perl/Carp/Clan.pm
/usr/share/perl5/vendor_perl/Carp/Clan.pod

References

Summary

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