How To Install perl-Text-Diff on Fedora 36

In this tutorial we learn how to install perl-Text-Diff in Fedora 36. perl-Text-Diff is Perform diffs on files and record sets

Introduction

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

What is perl-Text-Diff

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

Install perl-Text-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-Text-Diff using dnf by running the following command:

sudo dnf -y install perl-Text-Diff

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

sudo yum -y install perl-Text-Diff

How To Uninstall perl-Text-Diff on Fedora 36

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

sudo dnf remove perl-Text-Diff

perl-Text-Diff Package Contents on Fedora 36

/usr/share/doc/perl-Text-Diff
/usr/share/doc/perl-Text-Diff/Changes
/usr/share/doc/perl-Text-Diff/README
/usr/share/licenses/perl-Text-Diff
/usr/share/licenses/perl-Text-Diff/LICENSE
/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 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).