How To Install elpa-imenu-list on Kali Linux
Introduction
In this tutorial we learn how to install elpa-imenu-list on Kali Linux.
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 structure is displayed in an automatically resized vertical Emacs 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. Speedbar also provides this functionality; however, imenu-list doesn’t require X11. Unlike speedbar, imenu-list shares the existing Emacs frame. X11 windows are called frames in Emacs, so another way of saying this is imenu-list doesn’t require a second X11 window with its own window decorations.
There are three methods to install elpa-imenu-list 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-imenu-list Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install elpa-imenu-list using apt-get by running the following command:
sudo apt-get -y install elpa-imenu-listInstall elpa-imenu-list Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install elpa-imenu-list using apt by running the following command:
sudo apt -y install elpa-imenu-listInstall elpa-imenu-list 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 updateAfter updating apt database, We can install elpa-imenu-list using aptitude by running the following command:
sudo aptitude -y install elpa-imenu-listHow To Uninstall elpa-imenu-list on Kali Linux
To uninstall only the elpa-imenu-list package we can use the following command:
sudo apt-get remove elpa-imenu-listUninstall elpa-imenu-list And Its Dependencies
To uninstall elpa-imenu-list and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove elpa-imenu-listRemove elpa-imenu-list Configurations and Data
To remove elpa-imenu-list configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge elpa-imenu-listRemove 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-listDependencies
elpa-imenu-list have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-imenu-list package on Kali Linux using different package management tools: apt, apt-get and aptitude.