How To Install aspell on Ubuntu 20.04

In this tutorial we learn how to install aspell on Ubuntu 20.04. aspell is GNU Aspell spell-checker GNU Aspell spell-checker

Introduction

In this tutorial we learn how to install aspell on Ubuntu 20.04.

What is aspell

aspell is:

GNU Aspell is a spell-checker which can be used either as a standalone application or embedded in other programs. Its main feature is that it does a much better job of suggesting possible spellings than just about any other spell-checker available for the English language, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell process is open at once.

Aspell is designed to be a drop-in replacement for Ispell. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: aspell Architecture: amd64 Version: 0.60.8-1build1 Multi-Arch: foreign Priority: optional Section: text Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Agustin Martin Domingo [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 380 Provides: aspell-bin Depends: libaspell15 (= 0.60.8-1build1), libc6 (>= 2.14), libncursesw6 (>= 6), libstdc++6 (>= 5), libtinfo6 (>= 6), dictionaries-common (» 0.40) Recommends: aspell-en | aspell-dictionary | aspell6a-dictionary Suggests: aspell-doc, spellutils Breaks: aspell-bin (« 0.60.3-2) Replaces: aspell-bin (« 0.60.3-2), aspell-hi (<= 0.01-1), aspell-mr (<= 0.10-1) Filename: pool/main/a/aspell/aspell_0.60.8-1build1_amd64.deb Size: 88328 MD5sum: 9063dedda212c5796c3af18ae4f74af7 SHA1: 3042fcda803553ccf485c0a2af0cb188e3f94fa0 SHA256: 8af3910fd31ad3d9768717957cd16c2b15df8ae07fe9723baffe0e2d5c3e53d1 Homepage: http://aspell.net/ Description-en: GNU Aspell spell-checker GNU Aspell is a spell-checker which can be used either as a standalone application or embedded in other programs. Its main feature is that it does a much better job of suggesting possible spellings than just about any other spell-checker available for the English language, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell process is open at once.

Aspell is designed to be a drop-in replacement for Ispell. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install aspell on Ubuntu 20.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 aspell Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install aspell

Install aspell Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install aspell

Install aspell 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 aspell using aptitude by running the following command:

sudo aptitude -y install aspell

How To Uninstall aspell on Ubuntu 20.04

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

sudo apt-get remove aspell

Uninstall aspell And Its Dependencies

To uninstall aspell and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove aspell

Remove aspell Configurations and Data

To remove aspell configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge aspell

Remove aspell configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge aspell

References

Summary

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