How To Install hunspell-pt.noarch on Amazon Linux 2

In this tutorial we learn how to install hunspell-pt.noarch in Amazon Linux 2. hunspell-pt.noarch is Portuguese hunspell dictionaries

Introduction

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

What is hunspell-pt.noarch

Portuguese hunspell dictionaries.

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

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

sudo yum -y install hunspell-pt.noarch

How To Uninstall hunspell-pt.noarch on Amazon Linux 2

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

sudo yum remove hunspell-pt.noarch

hunspell-pt.noarch Package Contents on Amazon Linux 2

/usr/share/doc/hunspell-pt-0.20130125
/usr/share/doc/hunspell-pt-0.20130125/COPYING
/usr/share/doc/hunspell-pt-0.20130125/README_pt_BR.TXT
/usr/share/doc/hunspell-pt-0.20130125/README_pt_PT.txt
/usr/share/myspell/pt_AO.aff
/usr/share/myspell/pt_AO.dic
/usr/share/myspell/pt_BR.aff
/usr/share/myspell/pt_BR.dic
/usr/share/myspell/pt_PT.aff
/usr/share/myspell/pt_PT.dic

References

Summary

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