How To Install hunspell-fr-comprehensive on Ubuntu 18.04

In this tutorial we learn how to install hunspell-fr-comprehensive on Ubuntu 18.04. hunspell-fr-comprehensive is French dictionary for hunspell (comprehensive version)

Introduction

In this tutorial we learn how to install hunspell-fr-comprehensive on Ubuntu 18.04.

What is hunspell-fr-comprehensive

hunspell-fr-comprehensive is:

This dictionary includes both the old and the new spelling for the words that were affected by the 1990 reform.

For an overview of the available French dictionaries, see the description of the hunspell-fr package.

There are three methods to install hunspell-fr-comprehensive 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 hunspell-fr-comprehensive Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install hunspell-fr-comprehensive

Install hunspell-fr-comprehensive Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install hunspell-fr-comprehensive using apt by running the following command:

sudo apt -y install hunspell-fr-comprehensive

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

sudo aptitude -y install hunspell-fr-comprehensive

How To Uninstall hunspell-fr-comprehensive on Ubuntu 18.04

To uninstall only the hunspell-fr-comprehensive package we can use the following command:

sudo apt-get remove hunspell-fr-comprehensive

Uninstall hunspell-fr-comprehensive And Its Dependencies

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

sudo apt-get -y autoremove hunspell-fr-comprehensive

Remove hunspell-fr-comprehensive Configurations and Data

To remove hunspell-fr-comprehensive configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge hunspell-fr-comprehensive

Remove hunspell-fr-comprehensive configuration, data, and all of its dependencies

We can use the following command to remove hunspell-fr-comprehensive configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge hunspell-fr-comprehensive

References

Summary

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