How To Install elpa-bind-map on Ubuntu 18.04

In this tutorial we learn how to install elpa-bind-map on Ubuntu 18.04. elpa-bind-map is bind personal keymaps in multiple locations

Introduction

In this tutorial we learn how to install elpa-bind-map on Ubuntu 18.04.

What is elpa-bind-map

elpa-bind-map is:

bind-map' is an Emacs package providing the macro bind-map which can be used to make a keymap available across different "leader keys" including ones tied to evil states. It is essentially a generalization of the idea of a leader key as used in vim or the Emacs evil-leader’ package, and allows for an arbitrary number of “leader keys”. This is probably best explained with an example.

There are three methods to install elpa-bind-map on Ubuntu 18.04. 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-bind-map 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-bind-map using apt-get by running the following command:

sudo apt-get -y install elpa-bind-map

Install elpa-bind-map Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install elpa-bind-map using apt by running the following command:

sudo apt -y install elpa-bind-map

Install elpa-bind-map 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install elpa-bind-map using aptitude by running the following command:

sudo aptitude -y install elpa-bind-map

How To Uninstall elpa-bind-map on Ubuntu 18.04

To uninstall only the elpa-bind-map package we can use the following command:

sudo apt-get remove elpa-bind-map

Uninstall elpa-bind-map And Its Dependencies

To uninstall elpa-bind-map and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove elpa-bind-map

Remove elpa-bind-map Configurations and Data

To remove elpa-bind-map configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge elpa-bind-map

Remove elpa-bind-map configuration, data, and all of its dependencies

We can use the following command to remove elpa-bind-map configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge elpa-bind-map

References

Summary

In this tutorial we learn how to install elpa-bind-map package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.