How To Install libtext-markdown-discount-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libtext-markdown-discount-perl
on Ubuntu 20.04.
What is libtext-markdown-discount-perl
libtext-markdown-discount-perl is:
Text::Markdown::Discount is a Perl module that implements the bindings to discount, an implementation of John Gruber’s Markdown markup language.
Given the performance of Discount, Text::Markdown::Discount processes markdown formatted text quickly and passes the Markdown 1.0 test suite.
There are three methods to install libtext-markdown-discount-perl
on Ubuntu 20.04. 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-discount-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-discount-perl
using apt-get
by running the following command:
sudo apt-get -y install libtext-markdown-discount-perl
Install libtext-markdown-discount-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtext-markdown-discount-perl
using apt
by running the following command:
sudo apt -y install libtext-markdown-discount-perl
Install libtext-markdown-discount-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libtext-markdown-discount-perl
using aptitude
by running the following command:
sudo aptitude -y install libtext-markdown-discount-perl
How To Uninstall libtext-markdown-discount-perl on Ubuntu 20.04
To uninstall only the libtext-markdown-discount-perl
package we can use the following command:
sudo apt-get remove libtext-markdown-discount-perl
Uninstall libtext-markdown-discount-perl And Its Dependencies
To uninstall libtext-markdown-discount-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libtext-markdown-discount-perl
Remove libtext-markdown-discount-perl Configurations and Data
To remove libtext-markdown-discount-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libtext-markdown-discount-perl
Remove libtext-markdown-discount-perl configuration, data, and all of its dependencies
We can use the following command to remove libtext-markdown-discount-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtext-markdown-discount-perl
References
Summary
In this tutorial we learn how to install libtext-markdown-discount-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.