How To Install nodejs-debuglog on CentOS 7

In this tutorial we learn how to install nodejs-debuglog on CentOS 7. nodejs-debuglog is Backport of util.debuglog from node v0.11

Introduction

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

What is nodejs-debuglog

To facilitate using the util.debuglog() function that will be available when node v0.12 is released now, this is a copy extracted from the source.

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

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

sudo yum -y install nodejs-debuglog

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

sudo dnf -y install nodejs-debuglog

How To Uninstall nodejs-debuglog on CentOS 7

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

sudo dnf remove nodejs-debuglog

References

Summary

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