Install recent ImageMagick on Centos5

Here you can find tutorials and notes for server-side maintenance/configuration

Install recent ImageMagick on Centos5

Postby lik » Fri May 28, 2010 1:58 pm

ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.

You may find changelog at:
http://www.imagemagick.org/script/changelog.php

Let`s begin with the installation of the latest available ImageMagick under binary OS Centos.

1. Download binary packages from the ImageMagick site:

http://www.imagemagick.org/download/linux/CentOS

Code: Select all
wget http://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-6.7.6-5.x86_64.rpm
wget http://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-devel-6.7.6-5.x86_64.rpm
wget http://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-perl-6.7.6-5.x86_64.rpm


2. Install them (or upgrade in case ImageMagick packages of the previous version are already exist in the system):
Code: Select all
rpm -Uvh  ImageMagick-6.7.6-5.x86_64.rpm ImageMagick-devel-6.7.6-5.x86_64.rpm ImageMagick-perl-6.7.6-5.x86_64.rpm

3. Most likely you will require some additional packages during dependencies check. All of them I have managed to found at the official Centos repos (stable and testing branches):

http://mirror.centos.org/centos/5/os/x86_64/CentOS/
http://dev.centos.org/centos/5/testing/x86_64/RPMS/

4. Compile and install Perl modules/classes.
Unfortunately, some script requires more recent version of Image::Magick perl class, while the latest available version is 6.74 (http://search.cpan.org/dist/PerlMagick/). That`s why we perform the following actions:

Code: Select all
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.6-5.tar.bz2
tar xjvf ImageMagick-6.7.6-5.tar.bz2
cd ImageMagick-6.7.6-5/PerlMagick/
perl Makefile.PL
make
make install
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Re: Install recent ImageMagick on Centos5

Postby grifit » Tue Apr 10, 2012 6:35 pm

The latest version of ImageMagick that may be installed without custom build is ImageMagick-6.7.2-10. The newer versions have missing dependencies. Most of ImageMagick RPMs can be downloaded from:

http://image_magick.veidrodis.com:8003/ ... OS/x86_64/
grifit
 
Posts: 1
Joined: Thu Jan 01, 1970 12:00 am


Return to Server Side Actions

 


  • Related topics
    Replies
    Views
    Last post
cron