It may look simple when you read the label, but it has a capability to ruin your life. Yeah man!, try to install the latest version of ImageMagick-6.5 in your Linux (remember it’s not windows) OS which will throw a big list of dependency (packages) failures.
As is always the case with RedHat, Fedora and CentOS (may be more), a number of packages in the usual yum repositories lack heavily behind the advancements made by their authors and teams. One such package is ImageMagick, which has the version of 6.2.8 in repositories whereas the latest version is 6.5.
Recently we had to upgrade this package to the latest for one of our image manipulation project, since the latest version had several improvements with the image processing. Most of the time I just go and upgrade the existing repositories, search for the new repositories, then see if anything helps me out, naaaa, none of these procedure will helped me.
Finally, I wanted to give a chance to ImageMagick’s source, I download the latest version, uncompressed then compiled it, which thrown me a big list of errors, which is obvious🙂 . I started looking at errors and came up with the list of dependencies it lacks (which is normal for any Linux OS), most of them are devel libraries (see below).
After installing the appropriate devel libraries via yum, re-configure the ImageMagick again, make clean and install. Phew, thank god it works this time.
following code are done in your server machine terminal: >> yum remove ImageMagick #if you already have one
>> yum install freetype-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel libtiff-devel tcl-devel
>> cd ImageMagick-6.5.1-0
>> ./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 clean
>> make install
Woooooo Hoooooo!, you’ve got the latest version.
- Installing Imagemagick from source in Debian (rakeshsankar.wordpress.com)