How To Install nodejs-marked on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install nodejs-marked on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install nodejs-marked

Install nodejs-marked on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install nodejs-marked

How To Uninstall nodejs-marked on Rocky Linux 8

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

sudo dnf remove nodejs-marked

nodejs-marked Package Contents on Rocky Linux 8

/usr/lib/node_modules/marked
/usr/lib/node_modules/marked/bin
/usr/lib/node_modules/marked/bin/marked
/usr/lib/node_modules/marked/component.json
/usr/lib/node_modules/marked/lib
/usr/lib/node_modules/marked/lib/marked.js
/usr/lib/node_modules/marked/package.json
/usr/lib/node_modules/marked/src
/usr/lib/node_modules/marked/src/Lexer.js
/usr/lib/node_modules/marked/src/Parser.js
/usr/lib/node_modules/marked/src/Renderer.js
/usr/lib/node_modules/marked/src/Slugger.js
/usr/lib/node_modules/marked/src/TextRenderer.js
/usr/lib/node_modules/marked/src/Tokenizer.js
/usr/lib/node_modules/marked/src/defaults.js
/usr/lib/node_modules/marked/src/helpers.js
/usr/lib/node_modules/marked/src/marked.js
/usr/lib/node_modules/marked/src/rules.js
/usr/share/doc/nodejs-marked
/usr/share/doc/nodejs-marked/README.md
/usr/share/doc/nodejs-marked/docs
/usr/share/doc/nodejs-marked/docs/AUTHORS.md
/usr/share/doc/nodejs-marked/docs/CNAME
/usr/share/doc/nodejs-marked/docs/CODE_OF_CONDUCT.md
/usr/share/doc/nodejs-marked/docs/CONTRIBUTING.md
/usr/share/doc/nodejs-marked/docs/PUBLISHING.md
/usr/share/doc/nodejs-marked/docs/README.md
/usr/share/doc/nodejs-marked/docs/USING_ADVANCED.md
/usr/share/doc/nodejs-marked/docs/USING_PRO.md
/usr/share/doc/nodejs-marked/docs/broken.md
/usr/share/doc/nodejs-marked/docs/demo
/usr/share/doc/nodejs-marked/docs/demo/demo.css
/usr/share/doc/nodejs-marked/docs/demo/demo.js
/usr/share/doc/nodejs-marked/docs/demo/index.html
/usr/share/doc/nodejs-marked/docs/demo/initial.md
/usr/share/doc/nodejs-marked/docs/demo/preview.html
/usr/share/doc/nodejs-marked/docs/demo/quickref.md
/usr/share/doc/nodejs-marked/docs/demo/worker.js
/usr/share/doc/nodejs-marked/docs/img
/usr/share/doc/nodejs-marked/docs/img/logo-black-and-white.svg
/usr/share/doc/nodejs-marked/docs/img/logo-black.svg
/usr/share/doc/nodejs-marked/docs/index.html
/usr/share/licenses/nodejs-marked
/usr/share/licenses/nodejs-marked/LICENSE.md

References

Summary

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