How To Install wamerican-small on Ubuntu 18.04

In this tutorial we learn how to install wamerican-small on Ubuntu 18.04. wamerican-small is American English dictionary words for /usr/share/dict

Introduction

In this tutorial we learn how to install wamerican-small on Ubuntu 18.04.

What is wamerican-small

wamerican-small is:

This package provides the file /usr/share/dict/american-english-small containing a list of English words with American spellings. This list can be used by spelling checkers, and by programs such as look(1).

This is a smaller list than the one installed by wamerican; nothing prevents you installing both (and others) at the same time.

There are also -large and -huge version of this word list, and there are wbritish* and wcanadian* packages as well.

There are three methods to install wamerican-small on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install wamerican-small Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install wamerican-small using apt-get by running the following command:

sudo apt-get -y install wamerican-small

Install wamerican-small Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wamerican-small using apt by running the following command:

sudo apt -y install wamerican-small

Install wamerican-small Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install wamerican-small using aptitude by running the following command:

sudo aptitude -y install wamerican-small

How To Uninstall wamerican-small on Ubuntu 18.04

To uninstall only the wamerican-small package we can use the following command:

sudo apt-get remove wamerican-small

Uninstall wamerican-small And Its Dependencies

To uninstall wamerican-small and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove wamerican-small

Remove wamerican-small Configurations and Data

To remove wamerican-small configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge wamerican-small

Remove wamerican-small configuration, data, and all of its dependencies

We can use the following command to remove wamerican-small configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge wamerican-small

References

Summary

In this tutorial we learn how to install wamerican-small package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.