Skip to content

Installation: Arch based distributions

Linus Unnebäck edited this page Jan 18, 2022 · 1 revision

Applies to Arch, Manjaro and other Arch-based distributions.

Installing dependencies

$ sudo pacman -Syu 
$ sudo pacman -S base-devel cairo pango libjpeg-turbo giflib libsvgtiny 

Note that libjpeg-turbo, giflib and libsvgtiny are optional, and only required if you want jpeg, gif and svg support, respectively.

Installing node-canvas

$ npm install canvas