How To Install js-marked on CentOS 7

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

Introduction

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

What is js-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 js-marked on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install js-marked.

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

sudo yum -y install js-marked

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

sudo dnf -y install js-marked

How To Uninstall js-marked on CentOS 7

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

sudo dnf remove js-marked

References

Summary

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