Skip to content

Instantly share code, notes, and snippets.

@lukrizal
Last active August 29, 2015 14:17
Show Gist options
  • Save lukrizal/23ffc140c5eb160dfbbd to your computer and use it in GitHub Desktop.
Save lukrizal/23ffc140c5eb160dfbbd to your computer and use it in GitHub Desktop.
Imagemagick Installation
#!/usr/bin/env bash
yum install ImageMagick ImageMagick-devel -y
yum --enablerepo=remi,remi-test install php-pecl-imagick -y
#!/usr/bin/env bash
VERSION=6.9.1-0
mkdir -p ~/imagick-installation && cd ~/imagick-installation
wget http://www.imagemagick.org/download/ImageMagick-${VERSION}.tar.gz
tar xvzf ImageMagick-${VERSION}.tar.gz
cd ~/imagick-installation/ImageMagick-${VERSION}
./configure && make
sudo make install && sudo ldconfig /usr/local/lib
make check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment