How To Install libvoikko on AlmaLinux 8

In this tutorial we learn how to install libvoikko in AlmaLinux 8. libvoikko is Voikko is a library for spellcheckers and hyphenators

Introduction

In this tutorial we learn how to install libvoikko on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvoikko.

Install libvoikko on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove libvoikko

References

Summary

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