How to Install lzma NPM Packages on Ubuntu / Debian

How to Install lzma software package in NPM Packages

lzma : A JavaScript implementation of the Lempel-Ziv-Markov (LZMA) chain compression algorithm. You can installing lzma 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 lzma
$ sudo npm install -g lzma

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

$ sudo npm update lzma

Update package globally,

$ npm install -g lzma

Git clone:

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

lzma@2.3.2 /usr/lib/node_modules/lzma

How to remove lzma package :

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

$ sudo npm uninstall lzma

Basic Information of lzma NPM Package:

Package Name lzma
Version 2.3.2
Description A JavaScript implementation of the Lempel-Ziv-Markov (LZMA) chain compression algorithm
Released Date 2016-03-28T18:15:13.061Z
Published by nmrugg
How to Learn https://www.npmjs.com/package/lzma/tutorial