How to Install mathjs NPM Packages on Ubuntu / Debian

How to Install mathjs software package in NPM Packages

mathjs : Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif. You can installing mathjs npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install mathjs
$ sudo npm install -g mathjs

If want to update the mathjs package execute the command as below,

$ sudo npm update mathjs

Update package globally,

$ npm install -g mathjs

Git clone:

$ sudo  git clone https://github.com/rektide/mathjs.git
$ sudo  npm install -g ./mathjs

mathjs@3.17.0 /usr/lib/node_modules/mathjs

How to remove mathjs package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall mathjs

Basic Information of mathjs NPM Package:

Package Name mathjs
Version 3.17.0
Description Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
Released Date 2017-11-18T19:42:48.198Z
Published by josdejong
How to Learn https://www.npmjs.com/package/mathjs/tutorial