How To Install nodejs-int64-buffer on CentOS 7

In this tutorial we learn how to install nodejs-int64-buffer on CentOS 7. nodejs-int64-buffer is 64bit Long Integer on Buffer/Array/ArrayBuffer in Pure JavaScript

Introduction

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

What is nodejs-int64-buffer

JavaScript’s number based on IEEE-754 could only handle 53 bits precision. This module provides a couple of classes Uint64BE which could hold 64 bits long integer and loose no bit.

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

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

sudo yum -y install nodejs-int64-buffer

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

sudo dnf -y install nodejs-int64-buffer

How To Uninstall nodejs-int64-buffer on CentOS 7

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

sudo dnf remove nodejs-int64-buffer

References

Summary

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