How To Install elpa-neotree on Kali Linux

In this tutorial we learn how to install elpa-neotree on Kali Linux. elpa-neotree is directory tree sidebar for Emacs that is like NERDTree for Vim

Introduction

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

What is elpa-neotree

elpa-neotree is:

NeoTree is a modern, themeable alternative to the Emacs builtins Dired and Speedbar. Like Speedbar, it auto-refreshes without needing to type “g”. Like Dired, but unlike Speedbar, it creates a new window as a sidebar and not a whole new frame (eg: not a new X11 application window with its own window decorations). NeoTree shows a file system tree relative to the users’ $HOME, where both Dired and Speedbar default to showing the contents of the current directory. Thus it provides a hierarchical rather than a modal view.

Neotree is similar to Vim’s NERDTree plugin.

This addon is for users who are more comfortable with the directory tree sidebar/file system explorer used in most non-Emacs applications.

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

sudo apt-get -y install elpa-neotree

Install elpa-neotree Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-neotree

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

sudo aptitude -y install elpa-neotree

How To Uninstall elpa-neotree on Kali Linux

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

sudo apt-get remove elpa-neotree

Uninstall elpa-neotree And Its Dependencies

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

sudo apt-get -y autoremove elpa-neotree

Remove elpa-neotree Configurations and Data

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

sudo apt-get -y purge elpa-neotree

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

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

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

Dependencies

elpa-neotree have the following dependencies:

References

Summary

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