-
-
Save toddwprice/ef0df3bad2debc4defec4ded7edf0cfb to your computer and use it in GitHub Desktop.
How to install GraphicsMagick on CentOS 6.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install build dependencies | |
sudo yum install -y gcc libpng libjpeg libpng-devel libjpeg-devel ghostscript libtiff libtiff-devel freetype freetype-devel | |
# Get GraphicsMagick source | |
wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/GraphicsMagick-LATEST.tar.gz | |
tar zxvf GraphicsMagick-LATEST.tar.gz | |
# Configure and compile | |
cd GraphicsMagick-1.3.35 | |
./configure | |
make | |
sudo make install | |
# Ensure everything was installed correctly | |
gm version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment