How To Install words.noarch on Amazon Linux 2

In this tutorial we learn how to install words.noarch in Amazon Linux 2. words.noarch is A dictionary of English words for the /usr/share/dict directory

Introduction

In this tutorial we learn how to install words.noarch on Amazon Linux 2.

What is words.noarch

The words file is a dictionary of English words for the /usr/share/dict directory. Some programs use this database of words to check spelling. Password checkers use it to look for bad passwords.

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

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

sudo yum -y install words.noarch

How To Uninstall words.noarch on Amazon Linux 2

To uninstall only the words.noarch package we can use the following command:

sudo yum remove words.noarch

words.noarch Package Contents on Amazon Linux 2

/usr/share/dict/linux.words
/usr/share/dict/words
/usr/share/doc/words-3.0
/usr/share/doc/words-3.0/license.txt
/usr/share/doc/words-3.0/readme.txt

References

Summary

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