forked from Automattic/node-canvas
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Fedora
ZHAO Xudong edited this page Jul 8, 2014
·
4 revisions
Installing node-canvas on Fedora 18 (and other rpm-based distributions) is easy (i hope so)!
$ mkdir nodeSRC
$ cd nodeSRC/
$ wget http://nodejs.org/dist/v0.10.12/node-v0.10.12.tar.gz
$ tar -zxvf node-v0.10.12.tar.gz
$ ./configure
$ make
$ su -c 'make install'
$ cd ..
NPM is installed from the box
$ su -c 'yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel'
in centos some font will not be installed by default, so need install it yourself
yum search arial
yum install liberation-sans-fonts.noarch$ npm install canvas