How To Install nodejs-node-uuid on CentOS 7
Introduction
In this tutorial we learn how to install nodejs-node-uuid
on CentOS 7.
What is nodejs-node-uuid
This Node.js module provides simple and fast generation of RFC4122 (v1 and v4) UUIDs. It runs in Node.js and all browsers and can also generate cryptographically strong random numbers.
We can use yum
or dnf
to install nodejs-node-uuid
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nodejs-node-uuid.
Install nodejs-node-uuid 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-node-uuid
using yum
by running the following command:
sudo yum -y install nodejs-node-uuid
Install nodejs-node-uuid 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-node-uuid
using dnf
by running the following command:
sudo dnf -y install nodejs-node-uuid
How To Uninstall nodejs-node-uuid on CentOS 7
To uninstall only the nodejs-node-uuid
package we can use the following command:
sudo dnf remove nodejs-node-uuid
References
Summary
In this tutorial we learn how to install nodejs-node-uuid
on CentOS 7 using yum
and dnf
.