- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
Installation: Fedora and other RPM based distributions
        Zach Bjornson edited this page Jul 7, 2018 
        ·
        3 revisions
      
    Applies to:
- Fedora 18
- CentOS 6
- CentOS 7
- Amazon Linux (2015.03 and later)
- and other RPM-based distributions
CAIRO_FORMAT_RGB16_565 and/or CAIRO_FORMAT_INVALID or the compiler not supporting C++11. You either need to upgrade your OS, upgrade Cairo or use the prebuilt module (see Installation - Prebuilt)
$ sudo yum install gcc-c++ cairo-devel libjpeg-turbo-devel pango-devel giflib-devel
$ npm install canvas
As on all operating systems, you may need to install fonts.
yum search arial
yum install liberation-sans-fonts.noarch