How To Install perl-Test-NoWarnings.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-Test-NoWarnings.noarch on Amazon Linux 2.
What is perl-Test-NoWarnings.noarch
In general, your tests shouldn’t produce warnings. This module causes any warnings to be captured and stored. It automatically adds an extra test that will run when your script ends to check that there were no warnings. If there were any warnings, the test will give a “not ok” and diagnostics of where, when and what the warning was, including a stack trace of what was going on when the it occurred.
We can use yum to install perl-Test-NoWarnings.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-NoWarnings.noarch.
Install perl-Test-NoWarnings.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-NoWarnings.noarch using yum by running the following command:
sudo yum -y install perl-Test-NoWarnings.noarch
How To Uninstall perl-Test-NoWarnings.noarch on Amazon Linux 2
To uninstall only the perl-Test-NoWarnings.noarch package we can use the following command:
sudo yum remove perl-Test-NoWarnings.noarch
perl-Test-NoWarnings.noarch Package Contents on Amazon Linux 2
/usr/share/doc/perl-Test-NoWarnings-1.04
/usr/share/doc/perl-Test-NoWarnings-1.04/Changes
/usr/share/doc/perl-Test-NoWarnings-1.04/LICENSE
/usr/share/doc/perl-Test-NoWarnings-1.04/README
/usr/share/man/man3/Test::NoWarnings.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/NoWarnings
/usr/share/perl5/vendor_perl/Test/NoWarnings.pm
/usr/share/perl5/vendor_perl/Test/NoWarnings/Warning.pm
References
Summary
In this tutorial we learn how to install perl-Test-NoWarnings.noarch on Amazon Linux 2 using yum.