How To Install perl-Snowball-Swedish on Fedora 36

In this tutorial we learn how to install perl-Snowball-Swedish in Fedora 36. perl-Snowball-Swedish is Porter’s stemming algorithm for Swedish

Introduction

In this tutorial we learn how to install perl-Snowball-Swedish on Fedora 36.

What is perl-Snowball-Swedish

The stem function takes a scalar as a parameter and stems the word according to Martin Porter’s Swedish stemming algorithm, which can be found at the Snowball website

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

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

sudo dnf -y install perl-Snowball-Swedish

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

sudo yum -y install perl-Snowball-Swedish

How To Uninstall perl-Snowball-Swedish on Fedora 36

To uninstall only the perl-Snowball-Swedish package we can use the following command:

sudo dnf remove perl-Snowball-Swedish

perl-Snowball-Swedish Package Contents on Fedora 36

/usr/bin/stemmer-se
/usr/share/doc/perl-Snowball-Swedish
/usr/share/doc/perl-Snowball-Swedish/Changes
/usr/share/doc/perl-Snowball-Swedish/README
/usr/share/licenses/perl-Snowball-Swedish
/usr/share/licenses/perl-Snowball-Swedish/LICENSE
/usr/share/man/man3/Lingua::Stem::Snowball::Se.3pm.gz
/usr/share/perl5/vendor_perl/Lingua
/usr/share/perl5/vendor_perl/Lingua/Stem
/usr/share/perl5/vendor_perl/Lingua/Stem/Snowball
/usr/share/perl5/vendor_perl/Lingua/Stem/Snowball/Se.pm

References

Summary

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