How To Install perl-Text-Levenshtein on Fedora 36

In this tutorial we learn how to install perl-Text-Levenshtein in Fedora 36. perl-Text-Levenshtein is Implementation of the Levenshtein edit distance

Introduction

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

What is perl-Text-Levenshtein

This module implements the Levenshtein edit distance. The Levenshtein edit distance is a measure of the degree of proximity between two strings. This distance is the number of substitutions, deletions or insertions (“edits”) needed to transform one string into the other one (and vice versa). When two strings have distance 0, they are the same. To learn more about the Levenshtein metric, have a look at the Wikipedia page <http

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

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

sudo dnf -y install perl-Text-Levenshtein

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

sudo yum -y install perl-Text-Levenshtein

How To Uninstall perl-Text-Levenshtein on Fedora 36

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

sudo dnf remove perl-Text-Levenshtein

perl-Text-Levenshtein Package Contents on Fedora 36

/usr/share/doc/perl-Text-Levenshtein
/usr/share/doc/perl-Text-Levenshtein/Changes
/usr/share/doc/perl-Text-Levenshtein/README
/usr/share/licenses/perl-Text-Levenshtein
/usr/share/licenses/perl-Text-Levenshtein/LICENSE
/usr/share/man/man3/Text::Levenshtein.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/Levenshtein.pm

References

Summary

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