How To Install hunspell on Rocky Linux 8

In this tutorial we learn how to install hunspell on Rocky Linux 8. hunspell is A spell checker and morphological analyzer library

Introduction

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

What is hunspell

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 Curses library, Ispell pipe interface, LibreOffice UNO module.

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

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

sudo dnf -y install hunspell

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

sudo yum -y install hunspell

How To Uninstall hunspell on Rocky Linux 8

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

sudo dnf remove hunspell

hunspell Package Contents on Rocky Linux 8

/usr/bin/hunspell
/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/8f3d5437513b4abcf109890c630589751bc1a3
/usr/lib/.build-id/55
/usr/lib/.build-id/55/68349d12fe9e0edb3cf2cf4bd94dc9fccfe1a0
/usr/lib/libhunspell-1.6.so.0
/usr/lib/libhunspell-1.6.so.0.0.1
/usr/share/doc/hunspell
/usr/share/doc/hunspell/AUTHORS
/usr/share/doc/hunspell/AUTHORS.myspell
/usr/share/doc/hunspell/COPYING
/usr/share/doc/hunspell/COPYING.LESSER
/usr/share/doc/hunspell/COPYING.MPL
/usr/share/doc/hunspell/README
/usr/share/doc/hunspell/README.myspell
/usr/share/doc/hunspell/THANKS
/usr/share/doc/hunspell/license.hunspell
/usr/share/doc/hunspell/license.myspell
/usr/share/locale/de/LC_MESSAGES/hunspell.mo
/usr/share/locale/es/LC_MESSAGES/hunspell.mo
/usr/share/locale/hu/LC_MESSAGES/hunspell.mo
/usr/share/locale/it/LC_MESSAGES/hunspell.mo
/usr/share/locale/tg/LC_MESSAGES/hunspell.mo
/usr/share/man/hu/man1/hunspell.1.gz
/usr/share/man/man1/hunspell.1.gz
/usr/share/myspell
/usr/bin/hunspell
/usr/lib/.build-id
/usr/lib/.build-id/94
/usr/lib/.build-id/94/147350b6c65fb867810e02ee6c7c9b4d303033
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/c93ebac92c6ee66ab0646a58dfbe201ff32c68
/usr/lib64/libhunspell-1.6.so.0
/usr/lib64/libhunspell-1.6.so.0.0.1
/usr/share/doc/hunspell
/usr/share/doc/hunspell/AUTHORS
/usr/share/doc/hunspell/AUTHORS.myspell
/usr/share/doc/hunspell/COPYING
/usr/share/doc/hunspell/COPYING.LESSER
/usr/share/doc/hunspell/COPYING.MPL
/usr/share/doc/hunspell/README
/usr/share/doc/hunspell/README.myspell
/usr/share/doc/hunspell/THANKS
/usr/share/doc/hunspell/license.hunspell
/usr/share/doc/hunspell/license.myspell
/usr/share/locale/de/LC_MESSAGES/hunspell.mo
/usr/share/locale/es/LC_MESSAGES/hunspell.mo
/usr/share/locale/hu/LC_MESSAGES/hunspell.mo
/usr/share/locale/it/LC_MESSAGES/hunspell.mo
/usr/share/locale/tg/LC_MESSAGES/hunspell.mo
/usr/share/man/hu/man1/hunspell.1.gz
/usr/share/man/man1/hunspell.1.gz
/usr/share/myspell

References

Summary

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