How To Install marked on CentOS 7

In this tutorial we learn how to install marked on CentOS 7. marked is A markdown parser for Node.js built for speed

Introduction

In this tutorial we learn how to install marked on CentOS 7.

What is marked

marked is a full-featured markdown compiler that can parse huge chunks of markdown without having to worry about caching the compiled output or blocking for an unnecessarily long time. marked is extremely fast and frequently outperforms similar markdown parsers. marked is very concise and still implements all markdown features, as well as GitHub Flavored Markdown features. marked more or less passes the official markdown test suite in its entirety. This is important because a surprising number of markdown compilers cannot pass more than a few tests.

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

Install marked on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install marked using yum by running the following command:

sudo yum -y install marked

Install marked 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 marked using dnf by running the following command:

sudo dnf -y install marked

How To Uninstall marked on CentOS 7

To uninstall only the marked package we can use the following command:

sudo dnf remove marked

References

Summary

In this tutorial we learn how to install marked on CentOS 7 using yum and dnf.