How To Install elpa-marginalia on Debian 12
Introduction
In this tutorial we learn how to install elpa-marginalia
on Debian 12.
What is elpa-marginalia
elpa-marginalia is:
This package provides marginalia-mode which adds marginalia to the minibuffer completions. Marginalia are marks or annotations placed at the margin of the page of a book or in this case helpful colorful annotations placed at the margin of the minibuffer for your completion candidates. Marginalia can only add annotations to be displayed with the completion candidates. It cannot modify the appearance of the candidates themselves, which are shown as supplied by the original commands.
The annotations are added based on the completion category. For example find-file reports the file category and M-x reports the command category. You can cycle between more or less detailed annotators or even disable the annotator with command marginalia-cycle.
There are three methods to install elpa-marginalia
on Debian 12. 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-marginalia 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-marginalia
using apt-get
by running the following command:
sudo apt-get -y install elpa-marginalia
Install elpa-marginalia Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-marginalia
using apt
by running the following command:
sudo apt -y install elpa-marginalia
Install elpa-marginalia 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-marginalia
using aptitude
by running the following command:
sudo aptitude -y install elpa-marginalia
How To Uninstall elpa-marginalia on Debian 12
To uninstall only the elpa-marginalia
package we can use the following command:
sudo apt-get remove elpa-marginalia
Uninstall elpa-marginalia And Its Dependencies
To uninstall elpa-marginalia
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove elpa-marginalia
Remove elpa-marginalia Configurations and Data
To remove elpa-marginalia
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge elpa-marginalia
Remove elpa-marginalia configuration, data, and all of its dependencies
We can use the following command to remove elpa-marginalia
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-marginalia
Dependencies
elpa-marginalia have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-marginalia
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.