Skip to content

Instantly share code, notes, and snippets.

@toddwprice
Forked from paul91/GraphicsMagick.sh
Last active September 20, 2020 17:04
Show Gist options
  • Save toddwprice/ef0df3bad2debc4defec4ded7edf0cfb to your computer and use it in GitHub Desktop.
Save toddwprice/ef0df3bad2debc4defec4ded7edf0cfb to your computer and use it in GitHub Desktop.
How to install GraphicsMagick on CentOS 6.4
#!/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