How To Install nodejs-maxmin on CentOS 7

In this tutorial we learn how to install nodejs-maxmin on CentOS 7. nodejs-maxmin is Get pretty output of the original, minified gzipped size of a

Introduction

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

What is nodejs-maxmin

Get pretty output of the original, minified gzipped size of a string/buffer.

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

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

sudo yum -y install nodejs-maxmin

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

sudo dnf -y install nodejs-maxmin

How To Uninstall nodejs-maxmin on CentOS 7

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

sudo dnf remove nodejs-maxmin

References

Summary

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