Web Hosting Forum | Lunarpages

Author Topic: Upgrading ImageMagick to 6.3.5  (Read 7739 times)

Danielle

  • Guest
Upgrading ImageMagick to 6.3.5
« on: September 12, 2006, 09:20:36 AM »
Hi,

There is a new version of ImageMagick now.  You can do the upgrade by performing the following if your server has ImageMagick on it:

1. Check the current version you have of ImageMagick:

Code: [Select]
convert -version
Should show 6.3.5 if you have the most recent one.

2. Check there are no rpms for ImageMagick installed:

Code: [Select]
rpm -qa|grep Magick
If you have a return and aren't using rpm for ImageMagick, you need to remove the rpm version. Oftentimes, cPanel will install the rpm when it shouldn't. To remove the rpm:

Code: [Select]
rpm -e ImageMagick-version
Here version is whatever version returned for the output of the prior command.

3. Check where ImageMagick is located:

Code: [Select]
whereis convert
If it has the return as /usr/local/bin/convert, then proceed with step 4.

If it has the return as /usr/bin/convert, then proceed with step 4b instead.  If there is no return for convert at all, you do not have ImageMagick, and do not need to go on. :)

4. Create the folder to grab the archive and to install it:

Code: [Select]
mkdir /root/setup
cd /root/setup
rm -rf ImageMagick.tar.gz
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
tar xvzf ImageMagick.tar.gz
cd ImageMagick-6.3.5*
./configure --enable-shared --with-modules --without-x && make && make install

4b. For those with convert at /usr/bin/convert:

Code: [Select]
mkdir /root/setup
cd /root/setup
rm -rf ImageMagick.tar.gz
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
tar xvzf ImageMagick.tar.gz
cd ImageMagick-6.3.5*
./configure --prefix=/usr --enable-shared --with-modules --without-x && make && make install

5. Check the new ImageMagick is installed now:

Code: [Select]
convert -version
Voila, you are now good to go :D

If you have any questions, please post them here or email to dedicated@lunarpages.com

Thanks.
« Last Edit: July 30, 2007, 12:56:33 PM by Danielle »

 

Share |