How To Install perl-Task-Weaken.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Task-Weaken.noarch in Amazon Linux 2. perl-Task-Weaken.noarch is Ensure that a platform has weaken support

Introduction

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

What is perl-Task-Weaken.noarch

One recurring problem in modules that use Scalar function is that it is not present in the pure-perl variant. This restores the functionality testing to a dependency you do once in your Makefile.PL, rather than something you have to write extra tests for each time you write a module.

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

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

sudo yum -y install perl-Task-Weaken.noarch

How To Uninstall perl-Task-Weaken.noarch on Amazon Linux 2

To uninstall only the perl-Task-Weaken.noarch package we can use the following command:

sudo yum remove perl-Task-Weaken.noarch

perl-Task-Weaken.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Task-Weaken-1.04
/usr/share/doc/perl-Task-Weaken-1.04/Changes
/usr/share/doc/perl-Task-Weaken-1.04/LICENSE
/usr/share/doc/perl-Task-Weaken-1.04/README
/usr/share/man/man3/Task::Weaken.3pm.gz
/usr/share/perl5/vendor_perl/Task
/usr/share/perl5/vendor_perl/Task/Weaken.pm

References

Summary

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