Skip to content

Instantly share code, notes, and snippets.

@lemanchester
Last active October 6, 2016 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lemanchester/260341aedc56cec082fb to your computer and use it in GitHub Desktop.
Save lemanchester/260341aedc56cec082fb to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#
# Install:
# curl -L https://gist.githubusercontent.com/lemanchester/260341aedc56cec082fb/raw/d74c358f5d6bbb7f3202a9ead5b450e93c8d8011/install_imagemagick.sh | bash
#
echo "*****************************************"
echo " Installing ImageMagick on Amazon Linux AMI "
echo "*****************************************"
echo "*"
echo "*"
echo "*****************************************"
echo " 1. Installing dependencies "
echo "*****************************************"
sudo yum -y install wget tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel
echo "*****************************************"
echo " 2. Download, Untar and Make Redis 2.6"
echo "*****************************************"
wget http://mirrors-usa.go-parts.com/mirrors/ImageMagick/ImageMagick.tar.gz
tar -vzxf ImageMagick.tar.gz
rm -f ImageMagick.tar.gz
cd ImageMagick*/
./configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
make
make install
echo "*****************************************"
echo "Complete!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment