How To Install libvoikko on Rocky Linux 8

In this tutorial we learn how to install libvoikko on Rocky Linux 8. libvoikko is Voikko is a library for spellcheckers and hyphenators

Introduction

In this tutorial we learn how to install libvoikko on Rocky Linux 8.

What is libvoikko

This is libvoikko, library for spellcheckers and hyphenators using Malaga natural language grammar development tool. The library is written in C. Currently only Finnish is supported, but the API of the library has been designed to allow adding support for other languages later. Note however that Malaga is rather low level tool that requires implementing the whole morphology of a language as a left associative grammar. Therefore languages that have simple or even moderately complex morphologies and do not require morphological analysis in their hyphenators should be implemented using other tools such as Hunspell.

We can use yum or dnf to install libvoikko on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvoikko.

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

sudo dnf -y install libvoikko

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

sudo yum -y install libvoikko

How To Uninstall libvoikko on Rocky Linux 8

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

sudo dnf remove libvoikko

libvoikko Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/4d81faab198b16a7aeecd52ee77c736b1d1c55
/usr/lib64/libvoikko.so.1
/usr/lib64/libvoikko.so.1.14.5
/usr/share/doc/libvoikko
/usr/share/doc/libvoikko/COPYING
/usr/share/doc/libvoikko/ChangeLog
/usr/share/doc/libvoikko/README
/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/0de8bca408a3dfec3750d46d98337ad22545f8
/usr/lib/libvoikko.so.1
/usr/lib/libvoikko.so.1.14.5
/usr/share/doc/libvoikko
/usr/share/doc/libvoikko/COPYING
/usr/share/doc/libvoikko/ChangeLog
/usr/share/doc/libvoikko/README

References

Summary

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