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

In this tutorial we learn how to install perl-Test-Vars.noarch in Amazon Linux 2. perl-Test-Vars.noarch is Detects unused variables

Introduction

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

What is perl-Test-Vars.noarch

Test tidy.

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

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

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

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

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

sudo yum remove perl-Test-Vars.noarch

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

/usr/share/doc/perl-Test-Vars-0.005
/usr/share/doc/perl-Test-Vars-0.005/Changes
/usr/share/doc/perl-Test-Vars-0.005/LICENSE
/usr/share/doc/perl-Test-Vars-0.005/README.md
/usr/share/doc/perl-Test-Vars-0.005/example
/usr/share/doc/perl-Test-Vars-0.005/example/cpan.t
/usr/share/doc/perl-Test-Vars-0.005/example/math-bigint.t
/usr/share/doc/perl-Test-Vars-0.005/example/test_more.t
/usr/share/man/man3/Test::Vars.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Vars.pm

References

Summary

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