How To Install hunspell-en-US.noarch on Amazon Linux 2

In this tutorial we learn how to install hunspell-en-US.noarch in Amazon Linux 2. hunspell-en-US.noarch is US English hunspell dictionaries

Introduction

In this tutorial we learn how to install hunspell-en-US.noarch on Amazon Linux 2.

What is hunspell-en-US.noarch

US English hunspell dictionaries

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

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

sudo yum -y install hunspell-en-US.noarch

How To Uninstall hunspell-en-US.noarch on Amazon Linux 2

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

sudo yum remove hunspell-en-US.noarch

hunspell-en-US.noarch Package Contents on Amazon Linux 2

/usr/share/doc/hunspell-en-US-0.20121024
/usr/share/doc/hunspell-en-US-0.20121024/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.noarch on Amazon Linux 2 using yum.