How To Install nodejs-child-process-close on CentOS 7

In this tutorial we learn how to install nodejs-child-process-close on CentOS 7. nodejs-child-process-close is Make child_process objects emit ‘close’ events

Introduction

In this tutorial we learn how to install nodejs-child-process-close on CentOS 7.

What is nodejs-child-process-close

This module makes child process objects, (created with spawn, fork, exec or execFile) emit the close event in node v0.6 like they do in node v0.8. This makes it easier to write code that works correctly on both versions of node.

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

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

sudo yum -y install nodejs-child-process-close

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

sudo dnf -y install nodejs-child-process-close

How To Uninstall nodejs-child-process-close on CentOS 7

To uninstall only the nodejs-child-process-close package we can use the following command:

sudo dnf remove nodejs-child-process-close

References

Summary

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