How To Install perl-Text-Diff.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-Text-Diff.noarch on Amazon Linux 2.
What is perl-Text-Diff.noarch
Text utility. It is not anywhere near as feature complete as GNU diff, but it is better integrated with Perl and available on all platforms. It is often faster than shelling out to a system’s diff executable for small files, and generally slower on larger files.
We can use yum to install perl-Text-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-Text-Diff.noarch.
Install perl-Text-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-Text-Diff.noarch using yum by running the following command:
sudo yum -y install perl-Text-Diff.noarch
How To Uninstall perl-Text-Diff.noarch on Amazon Linux 2
To uninstall only the perl-Text-Diff.noarch package we can use the following command:
sudo yum remove perl-Text-Diff.noarch
perl-Text-Diff.noarch Package Contents on Amazon Linux 2
/usr/share/doc/perl-Text-Diff-1.41
/usr/share/doc/perl-Text-Diff-1.41/Changes
/usr/share/doc/perl-Text-Diff-1.41/LICENSE
/usr/share/doc/perl-Text-Diff-1.41/README
/usr/share/man/man3/Text::Diff.3pm.gz
/usr/share/man/man3/Text::Diff::Config.3pm.gz
/usr/share/man/man3/Text::Diff::Table.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/Diff
/usr/share/perl5/vendor_perl/Text/Diff.pm
/usr/share/perl5/vendor_perl/Text/Diff/Config.pm
/usr/share/perl5/vendor_perl/Text/Diff/Table.pm
References
Summary
In this tutorial we learn how to install perl-Text-Diff.noarch on Amazon Linux 2 using yum.