How To Install libstemmer on Fedora 34
Introduction
In this tutorial we learn how to install libstemmer
on Fedora 34.
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. libstemmer 0 16.585svn.fc34 x86_64 86 k libstemmer-0-16.585svn.fc34.src.rpm fedora C stemming algorithm library http BSD 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libstemmer.
Install libstemmer on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libstemmer
using dnf
by running the following command:
sudo dnf -y install libstemmer
Install libstemmer on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the libstemmer
package we can use the following command:
sudo dnf remove libstemmer
libstemmer Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/289175c61b5f5b27f673c6df816faf6e8e7583
/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
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/41c572ae3152171c141b4b4bca6c979d5237e9
/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
- [libstemmer website](http://snowball.tartarus.org http://snowball.tartarus.org)
Summary
In this tutorial we learn how to install libstemmer
on Fedora 34 using yum and dnf.