How To Install perl-String-Similarity on Fedora 36

In this tutorial we learn how to install perl-String-Similarity in Fedora 36. perl-String-Similarity is Calculates the similarity of two strings

Introduction

In this tutorial we learn how to install perl-String-Similarity on Fedora 36.

What is perl-String-Similarity

The similarity function calculates the similarity index of its two arguments. A value of 0 means that the strings are entirely different. A value of 1 means that the strings are identical. Everything else lies between 0 and 1 and describes the amount of similarity between the strings.

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

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

sudo dnf -y install perl-String-Similarity

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

sudo yum -y install perl-String-Similarity

How To Uninstall perl-String-Similarity on Fedora 36

To uninstall only the perl-String-Similarity package we can use the following command:

sudo dnf remove perl-String-Similarity

perl-String-Similarity Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/62fd50f47c21715ce688a320cd4b48dc5da014
/usr/lib64/perl5/vendor_perl/String
/usr/lib64/perl5/vendor_perl/String/Similarity.pm
/usr/lib64/perl5/vendor_perl/auto/String
/usr/lib64/perl5/vendor_perl/auto/String/Similarity
/usr/lib64/perl5/vendor_perl/auto/String/Similarity/Similarity.so
/usr/share/doc/perl-String-Similarity
/usr/share/doc/perl-String-Similarity/COPYING
/usr/share/doc/perl-String-Similarity/Changes
/usr/share/doc/perl-String-Similarity/README
/usr/share/man/man3/String::Similarity.3pm.gz

References

Summary

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