How To Install elpa-el-x on Debian 12
Introduction
In this tutorial we learn how to install elpa-el-x
on Debian 12.
What is elpa-el-x
elpa-el-x is:
This package provides several Emacs Lisp extensions. Content:
dflet.el: defines the
dflet' macro, to provide the historic behavior of
flet’, a global and dynamic temporary function (re)definition tool.subr-compat.el: stubs `declare-function’ for older Emacs
There are three methods to install elpa-el-x
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-el-x 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-el-x
using apt-get
by running the following command:
sudo apt-get -y install elpa-el-x
Install elpa-el-x Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-el-x
using apt
by running the following command:
sudo apt -y install elpa-el-x
Install elpa-el-x 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-el-x
using aptitude
by running the following command:
sudo aptitude -y install elpa-el-x
How To Uninstall elpa-el-x on Debian 12
To uninstall only the elpa-el-x
package we can use the following command:
sudo apt-get remove elpa-el-x
Uninstall elpa-el-x And Its Dependencies
To uninstall elpa-el-x
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove elpa-el-x
Remove elpa-el-x Configurations and Data
To remove elpa-el-x
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge elpa-el-x
Remove elpa-el-x configuration, data, and all of its dependencies
We can use the following command to remove elpa-el-x
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-el-x
Dependencies
elpa-el-x have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-el-x
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.