How To Install perl-Algorithm-Diff on Fedora 36

In this tutorial we learn how to install perl-Algorithm-Diff in Fedora 36. perl-Algorithm-Diff is Compute ‘intelligent’ differences between two files/lists

Introduction

In this tutorial we learn how to install perl-Algorithm-Diff on Fedora 36.

What is perl-Algorithm-Diff

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 or dnf to install perl-Algorithm-Diff on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Algorithm-Diff.

Install perl-Algorithm-Diff on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Algorithm-Diff using dnf by running the following command:

sudo dnf -y install perl-Algorithm-Diff

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

sudo yum -y install perl-Algorithm-Diff

How To Uninstall perl-Algorithm-Diff on Fedora 36

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

sudo dnf remove perl-Algorithm-Diff

perl-Algorithm-Diff Package Contents on Fedora 36

/usr/share/doc/perl-Algorithm-Diff
/usr/share/doc/perl-Algorithm-Diff/Changes
/usr/share/doc/perl-Algorithm-Diff/README
/usr/share/doc/perl-Algorithm-Diff/cdiff.pl
/usr/share/doc/perl-Algorithm-Diff/diff.pl
/usr/share/doc/perl-Algorithm-Diff/diffnew.pl
/usr/share/doc/perl-Algorithm-Diff/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 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).