How To Install elpa-imenu-list on Debian 10

Learn how to install elpa-imenu-list on Debian 10 with this tutorial. elpa-imenu-list is show the current Emacs buffers imenu entries in a separate window

Introduction

In this tutorial we learn how to install elpa-imenu-list on Debian 10.

What is elpa-imenu-list

elpa-imenu-list is:

This Emacs minor-mode creates an automatically updated buffer called *Ilist* that is populated with the current buffer’s imenu entries. Imenu-list is usually configured so that the imenu tree is displayed as an automatically resized vertical window (a sidebar).

An imenu tree can be used as a table of contents for text and markdown documents, or for adding modern IDE features to Emacs–features like an overview of function and variable definitions.

There are three methods to install elpa-imenu-list on Debian 10. 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-imenu-list 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-imenu-list using apt-get by running the following command:

sudo apt-get -y install elpa-imenu-list

Install elpa-imenu-list Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-imenu-list

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

sudo aptitude -y install elpa-imenu-list

How To Uninstall elpa-imenu-list on Debian 10

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

sudo apt-get remove elpa-imenu-list

Uninstall elpa-imenu-list And Its Dependencies

To uninstall elpa-imenu-list and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove elpa-imenu-list

Remove elpa-imenu-list Configurations and Data

To remove elpa-imenu-list configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge elpa-imenu-list

Remove elpa-imenu-list configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-imenu-list

Dependencies

elpa-imenu-list have the following dependencies:

References

Summary

In this tutorial we learn how to install elpa-imenu-list package on Debian 10 using different package management tools: apt, apt-get and aptitude.