How To Install elpa-embark on Debian 12
Introduction
In this tutorial we learn how to install elpa-embark
on Debian 12.
What is elpa-embark
elpa-embark is:
Embark makes it easy to choose an Emacs command to run based on what is near point, both during a minibuffer completion session and in normal buffers. Bind the command embark-act to a key and it acts like prefix-key for a keymap of actions (commands) relevant to the target around point. With point on an URL in a buffer you can open the URL in a browser or eww or download the file it points to. If while switching buffers you spot an old one, you can kill it right there and continue to select another. Embark comes preconfigured with over a hundred actions for common types of targets such as files, buffers, identifiers, s-expressions, sentences; and it is easy to add more actions and more target types. Embark can also collect all the candidates in a minibuffer to an occur-like buffer or export them to a buffer in a major-mode specific to the type of candidates, such as dired for a set of files, ibuffer for a set of buffers, or customize for a set of variables.
There are three methods to install elpa-embark
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-embark 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-embark
using apt-get
by running the following command:
sudo apt-get -y install elpa-embark
Install elpa-embark Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-embark
using apt
by running the following command:
sudo apt -y install elpa-embark
Install elpa-embark 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-embark
using aptitude
by running the following command:
sudo aptitude -y install elpa-embark
How To Uninstall elpa-embark on Debian 12
To uninstall only the elpa-embark
package we can use the following command:
sudo apt-get remove elpa-embark
Uninstall elpa-embark And Its Dependencies
To uninstall elpa-embark
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove elpa-embark
Remove elpa-embark Configurations and Data
To remove elpa-embark
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge elpa-embark
Remove elpa-embark configuration, data, and all of its dependencies
We can use the following command to remove elpa-embark
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-embark
Dependencies
elpa-embark have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-embark
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.