Skip to content

Instantly share code, notes, and snippets.

@SeptiyanAndika
Forked from paul91/GraphicsMagick.sh
Created August 4, 2014 06:12
Show Gist options
  • Save SeptiyanAndika/37cfe276467e7e3c2a18 to your computer and use it in GitHub Desktop.
Save SeptiyanAndika/37cfe276467e7e3c2a18 to your computer and use it in GitHub Desktop.
#!/bin/bash
yum install -y gcc libpng libjpeg libpng-devel libjpeg-devel ghostscript libtiff libtiff-devel freetype freetype-devel
wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/GraphicsMagick-1.3.9.tar.gz
tar zxvf GraphicsMagick-1.3.9.tar.gz
cd GraphicsMagick-1.3.9
./configure --enable-shared
make
make install
gm version
pecl install gmagick-1.0.8b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment