How To Install hunspell-fr on Kali Linux

In this tutorial we learn how to install hunspell-fr on Kali Linux. hunspell-fr is French dictionary for hunspell (dependency package)

Introduction

In this tutorial we learn how to install hunspell-fr on Kali Linux.

What is hunspell-fr

hunspell-fr is:

This is a dependency package that installs one (and only one) of the four available French dictionaries. These dictionaries differ in the way they apply the spelling reform of 1990:

  • hunspell-fr-classical (recommended): this dictionary offers the usual spelling of French, with in addition some new spellings correcting past inconsistencies.

  • hunspell-fr-revised: this dictionary includes only the new spelling for the words that were affected by the 1990 reform.

  • hunspell-fr-comprehensive: this dictionary includes both the old and the new spelling for the words that were affected by the 1990 reform.

There are three methods to install hunspell-fr on Kali Linux. 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 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 using apt-get by running the following command:

sudo apt-get -y install hunspell-fr

Install hunspell-fr Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install hunspell-fr

Install hunspell-fr Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install hunspell-fr

How To Uninstall hunspell-fr on Kali Linux

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

sudo apt-get remove hunspell-fr

Uninstall hunspell-fr And Its Dependencies

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

sudo apt-get -y autoremove hunspell-fr

Remove hunspell-fr Configurations and Data

To remove hunspell-fr configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge hunspell-fr

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

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

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

Dependencies

hunspell-fr have the following dependencies:

References

Summary

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