How To Install nodejs-GeographicLib on Rocky Linux 8

In this tutorial we learn how to install nodejs-GeographicLib on Rocky Linux 8. nodejs-GeographicLib is NodeJS implementation of GeographicLib

Introduction

In this tutorial we learn how to install nodejs-GeographicLib on Rocky Linux 8.

What is nodejs-GeographicLib

A translation of some of the GeographicLib C++ functionality to NodeJS

We can use yum or dnf to install nodejs-GeographicLib on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nodejs-GeographicLib.

Install nodejs-GeographicLib on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install nodejs-GeographicLib using dnf by running the following command:

sudo dnf -y install nodejs-GeographicLib

Install nodejs-GeographicLib on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nodejs-GeographicLib using yum by running the following command:

sudo yum -y install nodejs-GeographicLib

How To Uninstall nodejs-GeographicLib on Rocky Linux 8

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

sudo dnf remove nodejs-GeographicLib

nodejs-GeographicLib Package Contents on Rocky Linux 8

/usr/lib/node_modules/geographiclib
/usr/lib/node_modules/geographiclib/LICENSE.txt
/usr/lib/node_modules/geographiclib/README.md
/usr/lib/node_modules/geographiclib/geographiclib.js
/usr/lib/node_modules/geographiclib/geographiclib.min.js
/usr/lib/node_modules/geographiclib/package.json
/usr/lib/node_modules/geographiclib/src
/usr/lib/node_modules/geographiclib/src/DMS.js
/usr/lib/node_modules/geographiclib/src/Geodesic.js
/usr/lib/node_modules/geographiclib/src/GeodesicLine.js
/usr/lib/node_modules/geographiclib/src/Math.js
/usr/lib/node_modules/geographiclib/src/PolygonArea.js
/usr/lib/node_modules/geographiclib/test
/usr/lib/node_modules/geographiclib/test/geodesictest.js
/usr/share/licenses/nodejs-GeographicLib
/usr/share/licenses/nodejs-GeographicLib/LICENSE.txt

References

Summary

In this tutorial we learn how to install nodejs-GeographicLib on Rocky Linux 8 using yum and dnf.