How To Install elpa-auto-dictionary on Debian 11
Introduction
In this tutorial we learn how to install elpa-auto-dictionary
on Debian 11.
What is elpa-auto-dictionary
elpa-auto-dictionary is:
Auto-dictionary is a minor mode that hooks into Flyspell’s on-the-fly spell checking and extends these checks to also detect language. Auto-dictionary then sets ‘ispell-dictionary’ to use the detected language. This package is useful for bilingual and multilingual Emacs users.
Language detection is per buffer (per document), and auto-dictionary will choose the language whose words appear most frequently in a document. If that document also contains a second language, and then the document is edited until there are a greater number of words from the second language, then auto-dictionary will choose the second language. That is to say, auto-dictionary’s pick always depends on the current state of the document, and it will only pick one language. This package does not enable multiple dictionary support for Emacs ispell.
Auto-dictionary supports the following languages:
- ca - Catalan
- da - Dansk (Danish)
- de - Deutsch (German)
- el - ??? ???????? (Modern Greek)
- en - English
- eo - Esperanto
- es - Espa?ol (Spanish)
- fr - Fran?ais (French)
- grc - ????????? (Classical Greek)
- hi - ????????? (Hindi)
- hu - Magyar (Hungarian)
- nb - Bokm?l (Norwegian)
- nn - Nynorsk (Norwegian)
- pt - Portugu?s (Portuguese)
- ro - Rom?n?, Rom?ne?te (Romanian)
- sk - Sloven?ina (Slovak)
- sl - Slovenian (Slovene)
- sv - Svenska (Swedish)
There are three methods to install elpa-auto-dictionary
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install elpa-auto-dictionary Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install elpa-auto-dictionary
using apt-get
by running the following command:
sudo apt-get -y install elpa-auto-dictionary
Install elpa-auto-dictionary Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-auto-dictionary
using apt
by running the following command:
sudo apt -y install elpa-auto-dictionary
Install elpa-auto-dictionary 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install elpa-auto-dictionary
using aptitude
by running the following command:
sudo aptitude -y install elpa-auto-dictionary
How To Uninstall elpa-auto-dictionary on Debian 11
To uninstall only the elpa-auto-dictionary
package we can use the following command:
sudo apt-get remove elpa-auto-dictionary
Uninstall elpa-auto-dictionary And Its Dependencies
To uninstall elpa-auto-dictionary
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove elpa-auto-dictionary
Remove elpa-auto-dictionary Configurations and Data
To remove elpa-auto-dictionary
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge elpa-auto-dictionary
Remove elpa-auto-dictionary configuration, data, and all of its dependencies
We can use the following command to remove elpa-auto-dictionary
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-auto-dictionary
Dependencies
elpa-auto-dictionary have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-auto-dictionary
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.