Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
March 18, 2010, 04:38:11 AM

Pages: [1]   Go Down
  Print  
Author Topic: Upgrading ImageMagick to 6.3.5  (Read 2557 times)
Tristan
Resident Alien
Administrator
Berserker Poster
*****
Offline Offline

Posts: 9237


nihil sunt omnia


WWW
« on: September 12, 2006, 10: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:
convert -version

Should show 6.3.5 if you have the most recent one.

2. Check there are no rpms for ImageMagick installed:

Code:
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:
rpm -e ImageMagick-version

Here version is whatever version returned for the output of the prior command.

3. Check where ImageMagick is located:

Code:
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. Smile

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

Code:
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:
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:
convert -version

Voila, you are now good to go Very Happy

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

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

Pages: [1]   Go Up
  Print  
 
Jump to: