How To Install hunspell.x86_64 on Amazon Linux 2

In this tutorial we learn how to install hunspell.x86_64 in Amazon Linux 2. hunspell.x86_64 is A spell checker and morphological analyzer library

Introduction

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

What is hunspell.x86_64

Hunspell is a spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or character encoding. Hunspell interfaces Ispell-like terminal interface using Curses library, Ispell pipe interface, OpenOffice.org UNO module.

We can use yum to install hunspell.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install hunspell.x86_64.

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

sudo yum -y install hunspell.x86_64

How To Uninstall hunspell.x86_64 on Amazon Linux 2

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

sudo yum remove hunspell.x86_64

hunspell.x86_64 Package Contents on Amazon Linux 2

/usr/bin/hunspell
/usr/lib64/libhunspell-1.3.so.0
/usr/lib64/libhunspell-1.3.so.0.0.0
/usr/share/doc/hunspell-1.3.2
/usr/share/doc/hunspell-1.3.2/AUTHORS
/usr/share/doc/hunspell-1.3.2/AUTHORS.myspell
/usr/share/doc/hunspell-1.3.2/COPYING
/usr/share/doc/hunspell-1.3.2/COPYING.LGPL
/usr/share/doc/hunspell-1.3.2/COPYING.MPL
/usr/share/doc/hunspell-1.3.2/README
/usr/share/doc/hunspell-1.3.2/README.myspell
/usr/share/doc/hunspell-1.3.2/THANKS
/usr/share/doc/hunspell-1.3.2/license.hunspell
/usr/share/doc/hunspell-1.3.2/license.myspell
/usr/share/locale/hu/LC_MESSAGES/hunspell.mo
/usr/share/locale/it/LC_MESSAGES/hunspell.mo
/usr/share/man/hu/man1/hunspell.1.gz
/usr/share/man/hu/man4/hunspell.4.gz
/usr/share/man/man1/hunspell.1.gz
/usr/share/man/man4/hunspell.4.gz
/usr/share/myspell

References

Summary

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