How to Install canvas-prebuilt NPM Packages on Ubuntu / Debian

How to Install canvas-prebuilt software package in NPM Packages

canvas-prebuilt : Prebuilt versions of node-canvas as a drop-in replacement. You can installing canvas-prebuilt 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 canvas-prebuilt
$ sudo npm install -g canvas-prebuilt

If want to update the canvas-prebuilt package execute the command as below,

$ sudo npm update canvas-prebuilt

Update package globally,

$ npm install -g canvas-prebuilt

Git clone:

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

canvas-prebuilt@1.6.5-prerelease.1 /usr/lib/node_modules/canvas-prebuilt

How to remove canvas-prebuilt package :

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

$ sudo npm uninstall canvas-prebuilt

Basic Information of canvas-prebuilt NPM Package:

Package Name canvas-prebuilt
Version 1.6.5-prerelease.1
Description Prebuilt versions of node-canvas as a drop-in replacement
Released Date 2017-04-16T15:54:19.361Z
Published by chearon
How to Learn https://www.npmjs.com/package/canvas-prebuilt/tutorial