How To Install nodejs-yamlish on CentOS 7

In this tutorial we learn how to install nodejs-yamlish on CentOS 7. nodejs-yamlish is Parser/encoder for the yamlish format

Introduction

In this tutorial we learn how to install nodejs-yamlish on CentOS 7.

What is nodejs-yamlish

This is a module to parse the “yamlish” format used to serialize objects in the TAP format. It’s like yaml, but just a tiny little bit smaller.

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

Install nodejs-yamlish on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install nodejs-yamlish

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

sudo dnf -y install nodejs-yamlish

How To Uninstall nodejs-yamlish on CentOS 7

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

sudo dnf remove nodejs-yamlish

References

Summary

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