How To Install perl-Text-WordDiff on Fedora 36

In this tutorial we learn how to install perl-Text-WordDiff in Fedora 36. perl-Text-WordDiff is Track changes between documents

Introduction

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

What is perl-Text-WordDiff

This module is a variation on the lovely Text generating traditional line-oriented diffs, however, it generates word- oriented diffs. This can be useful for tracking changes in narrative documents or documents with very long lines. To diff source code, one is still best off using Text story changed from one version to the next, this module will do the job very nicely.

We can use yum or dnf to install perl-Text-WordDiff on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Text-WordDiff.

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

sudo dnf -y install perl-Text-WordDiff

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

sudo yum -y install perl-Text-WordDiff

How To Uninstall perl-Text-WordDiff on Fedora 36

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

sudo dnf remove perl-Text-WordDiff

perl-Text-WordDiff Package Contents on Fedora 36

/usr/share/doc/perl-Text-WordDiff
/usr/share/doc/perl-Text-WordDiff/Changes
/usr/share/doc/perl-Text-WordDiff/README.md
/usr/share/licenses/perl-Text-WordDiff
/usr/share/licenses/perl-Text-WordDiff/LICENSE
/usr/share/man/man3/Text::WordDiff.3pm.gz
/usr/share/man/man3/Text::WordDiff::ANSIColor.3pm.gz
/usr/share/man/man3/Text::WordDiff::HTML.3pm.gz
/usr/share/man/man3/Text::WordDiff::HTMLTwoLines.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/WordDiff
/usr/share/perl5/vendor_perl/Text/WordDiff.pm
/usr/share/perl5/vendor_perl/Text/WordDiff/ANSIColor.pm
/usr/share/perl5/vendor_perl/Text/WordDiff/HTML.pm
/usr/share/perl5/vendor_perl/Text/WordDiff/HTMLTwoLines.pm

References

Summary

In this tutorial we learn how to install perl-Text-WordDiff on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).