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

In this tutorial we learn how to install perl-Test-Script.noarch in Amazon Linux 2. perl-Test-Script.noarch is Cross-platform basic tests for scripts

Introduction

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

What is perl-Test-Script.noarch

The intent of this module is to provide a series of basic tests for scripts in the bin directory of your Perl distribution.

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

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

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

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

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

sudo yum remove perl-Test-Script.noarch

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

/usr/share/doc/perl-Test-Script-1.07
/usr/share/doc/perl-Test-Script-1.07/Changes
/usr/share/doc/perl-Test-Script-1.07/LICENSE
/usr/share/doc/perl-Test-Script-1.07/README
/usr/share/man/man3/Test::Script.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Script.pm

References

Summary

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