How To Install elpa-transient on Kali Linux

In this tutorial we learn how to install elpa-transient on Kali Linux. elpa-transient is Emacs key and popup interface for complex keybindings

Introduction

In this tutorial we learn how to install elpa-transient on Kali Linux.

What is elpa-transient

elpa-transient is:

Taking inspiration from prefix keys and prefix arguments, Transient implements a similar abstraction involving a prefix command, infix arguments and suffix commands. We could call this abstraction a “transient command”, but because it always involves at least two commands (a prefix and a suffix) we prefer to call it just a “transient”.

When the user calls a transient prefix command, then a transient (temporary) keymap is activated, which binds the transient’s infix and suffix commands, and functions that control the transient state are added to pre-command-hook' and post-command-hook’. The available suffix and infix commands and their state are shown in the echo area until the transient is exited by invoking a suffix command.

Calling an infix command causes its value to be changed, possibly by reading a new value in the minibuffer.

Calling a suffix command usually causes the transient to be exited but suffix commands can also be configured to not exit the transient state.

There are three methods to install elpa-transient on Kali Linux. 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-transient 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-transient using apt-get by running the following command:

sudo apt-get -y install elpa-transient

Install elpa-transient Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-transient

Install elpa-transient Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install elpa-transient

How To Uninstall elpa-transient on Kali Linux

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

sudo apt-get remove elpa-transient

Uninstall elpa-transient And Its Dependencies

To uninstall elpa-transient and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove elpa-transient

Remove elpa-transient Configurations and Data

To remove elpa-transient configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge elpa-transient

Remove elpa-transient configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-transient

Dependencies

elpa-transient have the following dependencies:

References

Summary

In this tutorial we learn how to install elpa-transient package on Kali Linux using different package management tools: apt, apt-get and aptitude.