How To Install hunspell-fr-modern on Ubuntu 20.04
Introduction
In this tutorial we learn how to install hunspell-fr-modern on Ubuntu 20.04.
What is hunspell-fr-modern
hunspell-fr-modern is:
This dictionary is a selection of classic and revised spellings. It follows the slow evolution of modern spelling. It contains the less controversial spellings introduced 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-modern 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 hunspell-fr-modern 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-modern using apt-get by running the following command:
sudo apt-get -y install hunspell-fr-modern
Install hunspell-fr-modern Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install hunspell-fr-modern using apt by running the following command:
sudo apt -y install hunspell-fr-modern
Install hunspell-fr-modern 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-modern using aptitude by running the following command:
sudo aptitude -y install hunspell-fr-modern
How To Uninstall hunspell-fr-modern on Ubuntu 20.04
To uninstall only the hunspell-fr-modern package we can use the following command:
sudo apt-get remove hunspell-fr-modern
Uninstall hunspell-fr-modern And Its Dependencies
To uninstall hunspell-fr-modern and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove hunspell-fr-modern
Remove hunspell-fr-modern Configurations and Data
To remove hunspell-fr-modern configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge hunspell-fr-modern
Remove hunspell-fr-modern configuration, data, and all of its dependencies
We can use the following command to remove hunspell-fr-modern configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge hunspell-fr-modern
References
Summary
In this tutorial we learn how to install hunspell-fr-modern package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.