How To Install elpa-compat on Debian 12
Introduction
In this tutorial we learn how to install elpa-compat
on Debian 12.
What is elpa-compat
elpa-compat is:
The intended audience of this library aren’t day-to-day users, but package developers that wish to make use of newer functionality, not provided in older versions of Emacs, without breaking compatibility for users bound to specific Emacs releases.
There are three methods to install elpa-compat
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-compat 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-compat
using apt-get
by running the following command:
sudo apt-get -y install elpa-compat
Install elpa-compat Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-compat
using apt
by running the following command:
sudo apt -y install elpa-compat
Install elpa-compat 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-compat
using aptitude
by running the following command:
sudo aptitude -y install elpa-compat
How To Uninstall elpa-compat on Debian 12
To uninstall only the elpa-compat
package we can use the following command:
sudo apt-get remove elpa-compat
Uninstall elpa-compat And Its Dependencies
To uninstall elpa-compat
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove elpa-compat
Remove elpa-compat Configurations and Data
To remove elpa-compat
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge elpa-compat
Remove elpa-compat configuration, data, and all of its dependencies
We can use the following command to remove elpa-compat
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-compat
Dependencies
elpa-compat have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-compat
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.