How To Install libvoikko on CentOS 8

libvoikko is Voikko is a library for spellcheckers and hyphenators Voikko is a library for spellcheckers and hyphenators

Introduction

In this tutorial we learn how to install libvoikko on CentOS 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. libvoikko 4.1.1 2.el8 x86_64 160 k libvoikko-4.1.1-2.el8.src.rpm appstream Voikko is a library for spellcheckers and hyphenators http GPLv2+ 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvoikko.

Install libvoikko on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install libvoikko

Install libvoikko on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove libvoikko

libvoikko Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/e99ca3dac7ee6fdb96cd5e75d4cddda13e1490
/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
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/127419f3ab1cc731defe99389ea9d1e1c1a378
/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

References

Summary

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