How To Install dictionaries-common-dev on Ubuntu 18.04

In this tutorial we learn how to install dictionaries-common-dev on Ubuntu 18.04. dictionaries-common-dev is spelling dictionaries - developer files

Introduction

In this tutorial we learn how to install dictionaries-common-dev on Ubuntu 18.04.

What is dictionaries-common-dev

dictionaries-common-dev is:

This package provides the full text of the Debian Spelling Dictionaries and Tools Policy, and some debhelper-like helpers.

It is only of interest for developers maintaining wordlists or dictionaries for Ispell, Aspell, or MySpell/Hunspell.

There are three methods to install dictionaries-common-dev 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 dictionaries-common-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dictionaries-common-dev

Install dictionaries-common-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dictionaries-common-dev using apt by running the following command:

sudo apt -y install dictionaries-common-dev

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

sudo aptitude -y install dictionaries-common-dev

How To Uninstall dictionaries-common-dev on Ubuntu 18.04

To uninstall only the dictionaries-common-dev package we can use the following command:

sudo apt-get remove dictionaries-common-dev

Uninstall dictionaries-common-dev And Its Dependencies

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

sudo apt-get -y autoremove dictionaries-common-dev

Remove dictionaries-common-dev Configurations and Data

To remove dictionaries-common-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge dictionaries-common-dev

Remove dictionaries-common-dev configuration, data, and all of its dependencies

We can use the following command to remove dictionaries-common-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dictionaries-common-dev

References

Summary

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