We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Applies to Ubuntu, raspbian and other Debian-based distributions.
$ sudo apt-get update $ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
Note that libgif-dev, librsvg2-dev and libjpeg-dev are optional, and only required if you want gif, svg and jpeg support, respectively.
$ npm install canvas