How To Install perl-Text-Markdown on CentOS 7

In this tutorial we learn how to install perl-Text-Markdown on CentOS 7. perl-Text-Markdown is Convert Markdown syntax to (X)HTML

Introduction

In this tutorial we learn how to install perl-Text-Markdown on CentOS 7.

What is perl-Text-Markdown

Markdown is a text-to-HTML filter; it translates an easy-to-read / easy-to-write structured text format into HTML. Markdown’s text format is most similar to that of plain text email, and supports features such as headers, emphasis, code blocks, blockquotes, and links. Markdown’s syntax is designed not as a generic markup language, but specifically to serve as a front-end to (X)HTML. You can use span-level HTML tags anywhere in a Markdown document, and you can use block level HTML tags (like

andas well). For more information about Markdown’s syntax, see http

We can use yum or dnf to install perl-Text-Markdown on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Text-Markdown.

Install perl-Text-Markdown on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Text-Markdown using yum by running the following command:

sudo yum -y install perl-Text-Markdown

Install perl-Text-Markdown on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-Text-Markdown using dnf by running the following command:

sudo dnf -y install perl-Text-Markdown

How To Uninstall perl-Text-Markdown on CentOS 7

To uninstall only the perl-Text-Markdown package we can use the following command:

sudo dnf remove perl-Text-Markdown

References

Summary

In this tutorial we learn how to install perl-Text-Markdown on CentOS 7 using yum and dnf.