How To Install libvoikko.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libvoikko.x86_64 in Amazon Linux 2. libvoikko.x86_64 is Voikko is a library for spellcheckers and hyphenators

Introduction

In this tutorial we learn how to install libvoikko.x86_64 on Amazon Linux 2.

What is libvoikko.x86_64

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 to install libvoikko.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libvoikko.x86_64.

Install libvoikko.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libvoikko.x86_64

How To Uninstall libvoikko.x86_64 on Amazon Linux 2

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

sudo yum remove libvoikko.x86_64

libvoikko.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libvoikko.so.1
/usr/lib64/libvoikko.so.1.12.7
/usr/share/doc/libvoikko-3.6
/usr/share/doc/libvoikko-3.6/COPYING
/usr/share/doc/libvoikko-3.6/ChangeLog
/usr/share/doc/libvoikko-3.6/README

References

Summary

In this tutorial we learn how to install libvoikko.x86_64 on Amazon Linux 2 using yum.