How To Install hunspell-en-US on Rocky Linux 8

In this tutorial we learn how to install hunspell-en-US on Rocky Linux 8. hunspell-en-US is US English hunspell dictionaries

Introduction

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

What is hunspell-en-US

US English hunspell dictionaries

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

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

sudo dnf -y install hunspell-en-US

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

sudo yum -y install hunspell-en-US

How To Uninstall hunspell-en-US on Rocky Linux 8

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

sudo dnf remove hunspell-en-US

hunspell-en-US Package Contents on Rocky Linux 8

/usr/share/doc/hunspell-en-US
/usr/share/doc/hunspell-en-US/README_en_US.txt
/usr/share/myspell/en_US.aff
/usr/share/myspell/en_US.dic

References

Summary

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