How To Install elpa-markdown-mode on Kali Linux

In this tutorial we learn how to install elpa-markdown-mode on Kali Linux. elpa-markdown-mode is mode for editing Markdown-formatted text files in GNU Emacs

Introduction

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

What is elpa-markdown-mode

elpa-markdown-mode is:

The mode provides syntax highlighting, and keyboard shortcuts for editing, compiling, and previewing Markdown. It has general support for various markdown flavours, supports Markdown 1.0 and CommonMark, and includes a special GFM (Github Flavoured Markdown) major mode.

Out of the box, markdown-mode will use markdown, discount, or libtext-markdown-perl for HTML preview and export by calling /usr/bin/markdown. Please note that they produce slightly different results (eg: apostrophes exported as " ’ " vs " ?? “), and they may handle digressions from the CommonMark specification in different ways??for example in what is identified as a sublist rather than a subsequent list item.

If “defcustom markdown-command” is customised it can also be made to work with pandoc, libtext-multimarkdown-perl, or python3-markdown. Using pandoc will also unlock various other configuration options. See README.md and customize-mode for details.

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

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

Install elpa-markdown-mode Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-markdown-mode

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

sudo aptitude -y install elpa-markdown-mode

How To Uninstall elpa-markdown-mode on Kali Linux

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

sudo apt-get remove elpa-markdown-mode

Uninstall elpa-markdown-mode And Its Dependencies

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

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

Remove elpa-markdown-mode Configurations and Data

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

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

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

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

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

Dependencies

elpa-markdown-mode have the following dependencies:

References

Summary

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