How To Install ispell on Debian 9

In this tutorial we learn how to install ispell on Debian 9. ispell is International Ispell (an interactive spelling corrector)

Introduction

In this tutorial we learn how to install ispell on Debian 9.

What is ispell

ispell is:

Ispell corrects spelling in plain text, LaTeX, sgml/html/xml, and nroff files. [x]Emacs and jed have nice interfaces to ispell, and ispell works from many other tools and from the command line as well.

No ispell dictionaries are included in this package; you must install at least one of them (“iamerican” is recommended by default for no good reason); install the “ispell-dictionary” package(s) for the language(s) you and your users will want to spell-check.

It’s a good idea to install “word list” package(s) for the same language(s), because they’ll be used by ispell’s (L)ookup command.

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

Install ispell Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ispell

Install ispell Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ispell using apt by running the following command:

sudo apt -y install ispell

Install ispell 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install ispell

How To Uninstall ispell on Debian 9

To uninstall only the ispell package we can use the following command:

sudo apt-get remove ispell

Uninstall ispell And Its Dependencies

To uninstall ispell and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove ispell

Remove ispell Configurations and Data

To remove ispell configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge ispell

Remove ispell configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ispell

Dependencies

ispell have the following dependencies:

References

Summary

In this tutorial we learn how to install ispell package on Debian 9 using different package management tools: apt, apt-get and aptitude.