yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel
svn co http://svn.ghostscript.com/ghostscript/trunk/gs
cd gs
./autoconf.sh
./configure && make && make installwget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
cd ImageMagick-6.6.5-4
./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
You should get something like this:
root@host [~]# convert –version
Version: ImageMagick 6.6.5-4 2010-10-28 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
Continue reading “Install GhostScript and ImageMagick on Linux”