How To Install elpa-highlight-indentation on Kali Linux

In this tutorial we learn how to install elpa-highlight-indentation on Kali Linux. elpa-highlight-indentation is highlight the indentation level in Emacs buffers

Introduction

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

What is elpa-highlight-indentation

elpa-highlight-indentation is:

This package provides two Emacs minor modes:

  • highlight-indentation-mode displays guides at each indentation level
  • highlight-indentation-current-column-mode displays guides indicating other lines indented to the same level as the line containing point

These modes are useful for programming in language like Python which use semantic indentation.

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

sudo apt-get -y install elpa-highlight-indentation

Install elpa-highlight-indentation Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-highlight-indentation

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

sudo aptitude -y install elpa-highlight-indentation

How To Uninstall elpa-highlight-indentation on Kali Linux

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

sudo apt-get remove elpa-highlight-indentation

Uninstall elpa-highlight-indentation And Its Dependencies

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

sudo apt-get -y autoremove elpa-highlight-indentation

Remove elpa-highlight-indentation Configurations and Data

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

sudo apt-get -y purge elpa-highlight-indentation

Remove elpa-highlight-indentation configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-highlight-indentation

Dependencies

elpa-highlight-indentation have the following dependencies:

References

Summary

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