How To Install elpa-undo-tree on Kali Linux

In this tutorial we learn how to install elpa-undo-tree on Kali Linux. elpa-undo-tree is Emacs minor mode for handling undo history as tree

Introduction

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

What is elpa-undo-tree

elpa-undo-tree is:

Package undo-tree provided by this package replaces Emacs’ undo system with a system that treats undo history as what it is: a branching tree of changes. This simple idea allows the more intuitive behaviour of the standard undo/redo system to be combined with the power of never losing any history. An added side bonus is that undo history can in some cases be stored more efficiently, allowing more changes to accumulate before Emacs starts discarding history.

There are three methods to install elpa-undo-tree 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-undo-tree 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-undo-tree using apt-get by running the following command:

sudo apt-get -y install elpa-undo-tree

Install elpa-undo-tree Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-undo-tree

Install elpa-undo-tree 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-undo-tree using aptitude by running the following command:

sudo aptitude -y install elpa-undo-tree

How To Uninstall elpa-undo-tree on Kali Linux

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

sudo apt-get remove elpa-undo-tree

Uninstall elpa-undo-tree And Its Dependencies

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

sudo apt-get -y autoremove elpa-undo-tree

Remove elpa-undo-tree Configurations and Data

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

sudo apt-get -y purge elpa-undo-tree

Remove elpa-undo-tree configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-undo-tree

Dependencies

elpa-undo-tree have the following dependencies:

References

Summary

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