How To Install perl-Algorithm-Diff.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Algorithm-Diff.noarch in Amazon Linux 2. perl-Algorithm-Diff.noarch is Algorithm

Introduction

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

What is perl-Algorithm-Diff.noarch

This is a module for computing the difference between two files, two strings, or any other two lists of things. It uses an intelligent algorithm similar to (or identical to) the one used by the Unix “diff” program. It is guaranteed to find the smallest possible set of differences.

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

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

sudo yum -y install perl-Algorithm-Diff.noarch

How To Uninstall perl-Algorithm-Diff.noarch on Amazon Linux 2

To uninstall only the perl-Algorithm-Diff.noarch package we can use the following command:

sudo yum remove perl-Algorithm-Diff.noarch

perl-Algorithm-Diff.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Algorithm-Diff-1.1902
/usr/share/doc/perl-Algorithm-Diff-1.1902/Changes
/usr/share/doc/perl-Algorithm-Diff-1.1902/README
/usr/share/doc/perl-Algorithm-Diff-1.1902/cdiff.pl
/usr/share/doc/perl-Algorithm-Diff-1.1902/diff.pl
/usr/share/doc/perl-Algorithm-Diff-1.1902/diffnew.pl
/usr/share/doc/perl-Algorithm-Diff-1.1902/htmldiff.pl
/usr/share/man/man3/Algorithm::Diff.3pm.gz
/usr/share/man/man3/Algorithm::DiffOld.3pm.gz
/usr/share/perl5/vendor_perl/Algorithm
/usr/share/perl5/vendor_perl/Algorithm/Diff.pm
/usr/share/perl5/vendor_perl/Algorithm/DiffOld.pm

References

Summary

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