How To Install nodejs-graceful-fs on CentOS 7
Introduction
In this tutorial we learn how to install nodejs-graceful-fs
on CentOS 7.
What is nodejs-graceful-fs
Just like node.js’ fs module, but it does an incremental back-off when EMFILE is encountered. Useful in asynchronous situations where one needs to try to open lots and lots of files.
We can use yum
or dnf
to install nodejs-graceful-fs
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nodejs-graceful-fs.
Install nodejs-graceful-fs on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install nodejs-graceful-fs
using yum
by running the following command:
Install nodejs-graceful-fs 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.
After updating yum database, We can install nodejs-graceful-fs
using dnf
by running the following command:
How To Uninstall nodejs-graceful-fs on CentOS 7
To uninstall only the nodejs-graceful-fs
package we can use the following command:
References
Summary
In this tutorial we learn how to install nodejs-graceful-fs
on CentOS 7 using yum
and dnf
.