How To Install libtext-markdown-perl on Kali Linux

In this tutorial we learn how to install libtext-markdown-perl on Kali Linux. libtext-markdown-perl is module to convert Markdown syntax to (X)HTML

Introduction

In this tutorial we learn how to install libtext-markdown-perl on Kali Linux.

What is libtext-markdown-perl

libtext-markdown-perl is:

Text::Markdown is a Perl module that provides an alternate implementation of the Markdown implementation by John Gruber (see the markdown package). It is a slower implementation, but better maintained.

Markdown is a markup language to convert structured text into (X)HTML. Its main design goal is to make the input text as readable as possible. For this, the syntax is highly inspired by the format of plain text email. Markdown supports features like headers, emphasis, code blocks, blockquotes and links. For maximum flexibility, it also allows embedding HTML tags, both within paragraphs (eg. ), and at block level (

,).

There are three methods to install libtext-markdown-perl 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 libtext-markdown-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libtext-markdown-perl using apt-get by running the following command:

sudo apt-get -y install libtext-markdown-perl

Install libtext-markdown-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtext-markdown-perl

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

sudo aptitude -y install libtext-markdown-perl

How To Uninstall libtext-markdown-perl on Kali Linux

To uninstall only the libtext-markdown-perl package we can use the following command:

sudo apt-get remove libtext-markdown-perl

Uninstall libtext-markdown-perl And Its Dependencies

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

sudo apt-get -y autoremove libtext-markdown-perl

Remove libtext-markdown-perl Configurations and Data

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

sudo apt-get -y purge libtext-markdown-perl

Remove libtext-markdown-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtext-markdown-perl

Dependencies

libtext-markdown-perl have the following dependencies:

References

Summary

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