How To Install elpa-wc-mode on Kali Linux

In this tutorial we learn how to install elpa-wc-mode on Kali Linux. elpa-wc-mode is display a word count in the Emacs modeline

Introduction

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

What is elpa-wc-mode

elpa-wc-mode is:

This package provides an Emacs minor mode to display a word, line and/or character count in the Emacs modeline.

In addition, the user can set goals for adding or deleting a given number of words. You can use this to set daily writing or editing goals.

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

sudo apt-get -y install elpa-wc-mode

Install elpa-wc-mode Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-wc-mode

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

sudo aptitude -y install elpa-wc-mode

How To Uninstall elpa-wc-mode on Kali Linux

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

sudo apt-get remove elpa-wc-mode

Uninstall elpa-wc-mode And Its Dependencies

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

sudo apt-get -y autoremove elpa-wc-mode

Remove elpa-wc-mode Configurations and Data

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

sudo apt-get -y purge elpa-wc-mode

Remove elpa-wc-mode configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-wc-mode

Dependencies

elpa-wc-mode have the following dependencies:

References

Summary

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