How To Install nodejs-extend on CentOS 7

In this tutorial we learn how to install nodejs-extend on CentOS 7. nodejs-extend is Port of jQuery.extend for node.js and the browser

Introduction

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

What is nodejs-extend

nodejs-extend is a port of the classic extend() method from jQuery. It behaves as you expect. It is simple, tried and true.

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

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

sudo yum -y install nodejs-extend

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

sudo dnf -y install nodejs-extend

How To Uninstall nodejs-extend on CentOS 7

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

sudo dnf remove nodejs-extend

References

Summary

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