How To Install elpa-anzu on Kali Linux

In this tutorial we learn how to install elpa-anzu on Kali Linux. elpa-anzu is show number of matches in mode-line while searching

Introduction

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

What is elpa-anzu

elpa-anzu is:

anzu.el' is an Emacs port of anzu.vim'.

`anzu.el’ provides a minor mode which displays ‘current match/total matches’ in the mode-line in various search modes. This makes it easy to understand how many matches there are in the current buffer for your search query.

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

sudo apt-get -y install elpa-anzu

Install elpa-anzu Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-anzu

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

sudo aptitude -y install elpa-anzu

How To Uninstall elpa-anzu on Kali Linux

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

sudo apt-get remove elpa-anzu

Uninstall elpa-anzu And Its Dependencies

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

sudo apt-get -y autoremove elpa-anzu

Remove elpa-anzu Configurations and Data

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

sudo apt-get -y purge elpa-anzu

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

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

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

Dependencies

elpa-anzu have the following dependencies:

References

Summary

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