How To Install e-wrapper on Debian 11
Introduction
In this tutorial we learn how to install e-wrapper
on Debian 11.
What is e-wrapper
e-wrapper is:
All or almost all Unix editors support the syntax of “editor +42 file”, to open the given file and start with the cursor at line 42. Alas, the syntax programs that output such data use is different: either “file:42: Something” or “file:42:1: Something”, :1 being a column number.
This wrapper will recognize such references and call your $EDITOR using the
- notation. Thus, once you see an error message, you can copy&paste the first word of it without having to manually adjust. Especially if your mouse selection is configured to allow ‘:’, it’s a single triple-click (L+L+M), and still pretty handy if not.
If your editor allows multi-open, “e” can also handle pipelines such as:
- git grep MEOW|e -:
- make 2>&1 >/dev/null|grep error:|e -::
Also, because of its short name, it reduces the typing needed to start the editor by half if you use vi, by 80% if emacs or jstar – and that’s by far the most frequent command an Unix user does.
There are three methods to install e-wrapper
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install e-wrapper Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install e-wrapper
using apt-get
by running the following command:
sudo apt-get -y install e-wrapper
Install e-wrapper Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install e-wrapper
using apt
by running the following command:
sudo apt -y install e-wrapper
Install e-wrapper 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 e-wrapper
using aptitude
by running the following command:
sudo aptitude -y install e-wrapper
How To Uninstall e-wrapper on Debian 11
To uninstall only the e-wrapper
package we can use the following command:
sudo apt-get remove e-wrapper
Uninstall e-wrapper And Its Dependencies
To uninstall e-wrapper
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove e-wrapper
Remove e-wrapper Configurations and Data
To remove e-wrapper
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge e-wrapper
Remove e-wrapper configuration, data, and all of its dependencies
We can use the following command to remove e-wrapper
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge e-wrapper
Dependencies
e-wrapper have the following dependencies:
References
Summary
In this tutorial we learn how to install e-wrapper
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.