How To Install perl-Text-Patch on Fedora 36

In this tutorial we learn how to install perl-Text-Patch in Fedora 36. perl-Text-Patch is Patches text with given patch

Introduction

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

What is perl-Text-Patch

Text data is produced by Text diff, see -u option).

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

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

sudo dnf -y install perl-Text-Patch

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

sudo yum -y install perl-Text-Patch

How To Uninstall perl-Text-Patch on Fedora 36

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

sudo dnf remove perl-Text-Patch

perl-Text-Patch Package Contents on Fedora 36

/usr/share/doc/perl-Text-Patch
/usr/share/doc/perl-Text-Patch/ChangeLog
/usr/share/doc/perl-Text-Patch/README
/usr/share/licenses/perl-Text-Patch
/usr/share/licenses/perl-Text-Patch/COPYING
/usr/share/man/man3/Text::Patch.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/Patch.pm

References

Summary

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