How To Install nodejs-marked on CentOS 8

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

Introduction

In this tutorial we learn how to install nodejs-marked on CentOS 8.

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

Install nodejs-marked on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install nodejs-marked

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

sudo dnf -y install nodejs-marked

How To Uninstall nodejs-marked on CentOS 8

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

sudo dnf remove nodejs-marked

References

Summary

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