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

In this tutorial we learn how to install perl-Test-EOL.noarch in Amazon Linux 2. perl-Test-EOL.noarch is Check the correct line endings in your project

Introduction

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

What is perl-Test-EOL.noarch

This module scans your project/distribution for any perl files (scripts, modules, etc.) with Windows line endings. It can also check for trailing whitespace.

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

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

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

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

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

sudo yum remove perl-Test-EOL.noarch

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

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

References

Summary

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