How To Install markdent on Kali Linux
Introduction
In this tutorial we learn how to install markdent
on Kali Linux.
What is markdent
markdent is:
Markdent provides a toolkit for parsing Markdown (and Markdown variants, aka dialects). Unlike the other Markdown Perl tools, this module can be used for more than just generating HTML. The core parser generates events (like XML’s SAX), making it easy to analyze a Markdown document in any number of ways.
If you’re only interested in converting Markdown to HTML, you can use the Markdent::Simple::Document class to do this, although you can just as well use better battle-tested tools like Text::Markdown.
Markdown is a lightweight markup language with plain text formatting syntax. Its design allows it to be converted to many output formats, but the original tool by the same name only supports HTML.
This package provides the command-line tool markdent-html, including Perl module Markdent::CLI.
There are three methods to install markdent
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 markdent Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install markdent
using apt-get
by running the following command:
sudo apt-get -y install markdent
Install markdent Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install markdent
using apt
by running the following command:
sudo apt -y install markdent
Install markdent 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 markdent
using aptitude
by running the following command:
sudo aptitude -y install markdent
How To Uninstall markdent on Kali Linux
To uninstall only the markdent
package we can use the following command:
sudo apt-get remove markdent
Uninstall markdent And Its Dependencies
To uninstall markdent
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove markdent
Remove markdent Configurations and Data
To remove markdent
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge markdent
Remove markdent configuration, data, and all of its dependencies
We can use the following command to remove markdent
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge markdent
Dependencies
markdent have the following dependencies:
References
Summary
In this tutorial we learn how to install markdent
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.