How To Install libstemmer on Fedora 36

In this tutorial we learn how to install libstemmer in Fedora 36. libstemmer is C stemming algorithm library

Introduction

In this tutorial we learn how to install libstemmer on Fedora 36.

What is libstemmer

Snowball stemming algorithms for use in Information Retrieval Snowball provides access to efficient algorithms for calculating a “stemmed” form of a word. This is a form with most of the common morphological endings removed; hopefully representing a common linguistic base form. This is most useful in building search engines and information retrieval software; for example, a search with stemming enabled should be able to find a document containing “cycling” given the query “cycles”. Snowball provides algorithms for several (mainly European) languages. It also provides access to the classic Porter stemming algorithm for English the original algorithm may be of interest to information retrieval researchers wishing to reproduce results of earlier experiments.

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

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

sudo dnf -y install libstemmer

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

sudo yum -y install libstemmer

How To Uninstall libstemmer on Fedora 36

To uninstall only the libstemmer package we can use the following command:

sudo dnf remove libstemmer

libstemmer Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/188325da084c8b7593246b89133c60cbb887f8
/usr/lib64/libstemmer.so.0
/usr/lib64/libstemmer.so.0.0.0
/usr/share/doc/libstemmer
/usr/share/doc/libstemmer/BSD.txt
/usr/share/doc/libstemmer/Notice.txt
/usr/share/doc/libstemmer/README

References

Summary

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


title: “How To Install libstemmer on Fedora 36” linkTitle: “libstemmer” type: “docs” description: “In this tutorial we learn how to install libstemmer in Fedora 36. libstemmer is C stemming algorithm library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libstemmer-featured.png

Introduction

In this tutorial we learn how to install libstemmer on Fedora 36.

What is libstemmer

Snowball stemming algorithms for use in Information Retrieval Snowball provides access to efficient algorithms for calculating a “stemmed” form of a word. This is a form with most of the common morphological endings removed; hopefully representing a common linguistic base form. This is most useful in building search engines and information retrieval software; for example, a search with stemming enabled should be able to find a document containing “cycling” given the query “cycles”. Snowball provides algorithms for several (mainly European) languages. It also provides access to the classic Porter stemming algorithm for English the original algorithm may be of interest to information retrieval researchers wishing to reproduce results of earlier experiments.

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

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

sudo dnf -y install libstemmer

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

sudo yum -y install libstemmer

How To Uninstall libstemmer on Fedora 36

To uninstall only the libstemmer package we can use the following command:

sudo dnf remove libstemmer

libstemmer Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/227fa0db3bd2e2afb9fe91e176594fe92123f9
/usr/lib/libstemmer.so.0
/usr/lib/libstemmer.so.0.0.0
/usr/share/doc/libstemmer
/usr/share/doc/libstemmer/BSD.txt
/usr/share/doc/libstemmer/Notice.txt
/usr/share/doc/libstemmer/README

References

Summary

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