How To Install libstemmer-devel on Rocky Linux 8

In this tutorial we learn how to install libstemmer-devel on Rocky Linux 8. libstemmer-devel is C stemming algorithm library developer files

Introduction

In this tutorial we learn how to install libstemmer-devel on Rocky Linux 8.

What is libstemmer-devel

This package contains development files of 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-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libstemmer-devel.

Install libstemmer-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libstemmer-devel using dnf by running the following command:

sudo dnf -y install libstemmer-devel

Install libstemmer-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libstemmer-devel using yum by running the following command:

sudo yum -y install libstemmer-devel

How To Uninstall libstemmer-devel on Rocky Linux 8

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

sudo dnf remove libstemmer-devel

libstemmer-devel Package Contents on Rocky Linux 8

/usr/include/libstemmer.h
/usr/lib/libstemmer.so
/usr/include/libstemmer.h
/usr/lib64/libstemmer.so

References

Summary

In this tutorial we learn how to install libstemmer-devel on Rocky Linux 8 using yum and dnf.