How To Install elpa-ligature on Debian 12
Introduction
In this tutorial we learn how to install elpa-ligature
on Debian 12.
What is elpa-ligature
elpa-ligature is:
This package converts graphemes (characters) present in major modes of your choice to the stylistic ligatures present in your frame’s font. It though only works with Debian’s emacs-gtk package.
Additionally, this Debian package automatically enables system-wide all known programming ligatures of Fira Code and Jetbrains Mono for programming modes and the “www” ligature of Fira Code for all major modes.
Further fonts in Debian known to support programming ligatures are listed in the package’s optional dependencies. Without at least one of them, this package is of little use.
There are three methods to install elpa-ligature
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-ligature 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-ligature
using apt-get
by running the following command:
sudo apt-get -y install elpa-ligature
Install elpa-ligature Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-ligature
using apt
by running the following command:
sudo apt -y install elpa-ligature
Install elpa-ligature 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-ligature
using aptitude
by running the following command:
sudo aptitude -y install elpa-ligature
How To Uninstall elpa-ligature on Debian 12
To uninstall only the elpa-ligature
package we can use the following command:
sudo apt-get remove elpa-ligature
Uninstall elpa-ligature And Its Dependencies
To uninstall elpa-ligature
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove elpa-ligature
Remove elpa-ligature Configurations and Data
To remove elpa-ligature
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge elpa-ligature
Remove elpa-ligature configuration, data, and all of its dependencies
We can use the following command to remove elpa-ligature
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-ligature
Dependencies
elpa-ligature have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-ligature
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.