Upgrade to most recent ImageMagick version on CentOS 5.x
My favorite choice for running a Linux Server is CentOS, since it is based on the RedHat distribution you can rest assured you will get a top notch enterprise offering and stability. As with all things “enterprise” the priority is on stability and security and not on the latest code releases. This works 99% of the time, but sometimes you still need some update.
In the case of ImageMagick, CentOS comes with version 6.2.8, it was a bug that was fixed with PSD conversion and thus I needed to get the latest version installed. So, here are the steps to install ImageMagick 6.5.7 on CentOS 5.x. Mind you, that you will loose the internal patch upgrading from yum, but all you need to install to the next version is just to follow these steps again.
Uninstall current version
Uninstall the current version with:
yum erase ImageMagick*
This will uninstall ImageMagick 6.2.8 and if you have any other versions installed, like the devel one.
Install the needed dependencies
ImageMagick depends on a couple of additional libraries to convert to different formats. Let us just make sure, that they are all installed with:
yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel
Download and extract latest ImageMagick version
You can always get the latest ImageMagick version directly from their website. Code below will download and extract the file.
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz tar xcvf ImageMagick.tar.gz cd ImageMagick-6.5.7-5
Configure and make ImageMagick
With the below configure command we are configuring ImageMagick with the most needed options. Feel free to adjust it to your needs. As always issue a “–help” to see all the available options.
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
Wait until configure has finished. At the end you will see all the enable options. When you think all went well issue:
make
Now is a good time to make yourself some coffee or continue coding your next big killer application because make will take some time to finish. When it’s done, issue:
make install
That’s it! You are done. Wasn’t so bad, was it? Check with:
convert --version
That ImageMagick is properly installed and that you got the current version up and running. If all went well you should see something similar to this:
Version: ImageMagick 6.5.7-5 2009-11-08 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
This worked great!
Thanks!
Panitrul http://11111kljbghy.com sarah 222222 [url=http://33333hdhkji.com]333333[/url] Amuanea
Mallison finasteride, yrnuxd, generic effexor, acidic, buy ambien, delta, generic meridia, sparkling, clomid nolvadex, tcpjvnt, Austranium
Escenona buy ambien without a prescription, burma, paypal meridia, aura, imitrex generic, wire, buy valium online without a prescription, previous, effexor generic, anti, Lithardaea
Eurenum generic meridia, jealous, effexor, vforcis, finasteride, operational, drug valium, swing, buy ambien online, prong, Helvitini
Hibyrea diazepam online, lens, order zolpidem, tuv, buy meridia online, thundering, cheap lorazepam, frantic, buy zoloft, 63rd, Amon
Chinannona clomid, 9-5, wellbutrin, philosophical, nexium, bled, alprazolam, creepy, generic effexor, sales, Escarcini
Laurannion generic ambien, lay, nexium, opal, clomiphene citrate, fog, effexor xr, shown, wellbutrin, ei, Indison
Albaras <a href="#top”>http://my.speedtv.com/ktrush, optimistic,<a href="#top”>http://my.speedtv.com/dehunt, promising, <a href="#top”>http://my.speedtv.com/bhuson, hard, <a href="#top”>http://my.speedtv.com/wbailey, ekornn, <a href="#top”>http://my.speedtv.com/daikens, felice, Granernica
This looks amazing and goddamn Natalie Portman looks stunning!
Thanks a lot you for this site. Thats all I might say. You most obviously have created this world wide web into something speciel. You clearly know what you are executing, youve included so many bases.best regards
Pretty excellent post. I just stumbled upon your blog and wanted to say that I have incredibly enjoyed reading your blog posts. Any way I’ll be subscribing for ones feed and I hope you write-up once again soon.
i agree, why jesus lets this go on is concerning
Where in the world did you find this wordpress theme? Or did you get it custom made?
I usually don’t post on blogs but your weblog forced me to, awesome stuff… interesting
I have 2, I’ve nat been on this webpage in a long time… but it was anoda joy 2 see t’s such a vital subject & ignored by so many.