How To Install elpa-bash-completion on Debian 12
Introduction
In this tutorial we learn how to install elpa-bash-completion
on Debian 12.
What is elpa-bash-completion
elpa-bash-completion is:
bash-completion.el defines dynamic completion hooks for shell-mode and shell-command prompts that is based on bash completion.
Bash completion for Emacs:
- is aware of bash builtins, aliases and functions
- does file expansion inside of colon-separated variables and after redirections (> or <)
- escapes special characters when expanding file names
- is configurable through programmable bash completion
- works on remote shells, through TRAMP.
There are three methods to install elpa-bash-completion
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-bash-completion Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install elpa-bash-completion
using apt-get
by running the following command:
Install elpa-bash-completion Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install elpa-bash-completion
using apt
by running the following command:
Install elpa-bash-completion 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.
After updating apt database, We can install elpa-bash-completion
using aptitude
by running the following command:
How To Uninstall elpa-bash-completion on Debian 12
To uninstall only the elpa-bash-completion
package we can use the following command:
Uninstall elpa-bash-completion And Its Dependencies
To uninstall elpa-bash-completion
and its dependencies that are no longer needed by Debian 12, we can use the command below:
Remove elpa-bash-completion Configurations and Data
To remove elpa-bash-completion
configuration and data from Debian 12 we can use the following command:
Remove elpa-bash-completion configuration, data, and all of its dependencies
We can use the following command to remove elpa-bash-completion
configurations, data and all of its dependencies, we can use the following command:
Dependencies
elpa-bash-completion have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-bash-completion
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.