How to upgrade ImageMagick?
Posted: 2014-07-25T10:31:50-07:00
I have ImageMagick 6.5.4-7 installed on my server and just noticed version 6.8.9-5 is available. I'm assuming it would be a good idea to upgrade, since that's a pretty significant version difference, but I'm not sure exactly how. I have a VPS running CENTOS 6.5 i686.
Should I just follow these instructions (from the downloads page), or is updating a different process from when first installing?
Should I just follow these instructions (from the downloads page), or is updating a different process from when first installing?
$ rpm -Uvh ImageMagick-6.8.9-5.i386.rpm
For other systems, create (or choose) a directory to install the package into and change to that directory, for example:
$ cd $HOME
Next, extract the contents of the package. For example:
$ tar xvzf ImageMagick.tar.gz
Set the MAGICK_HOME environment variable to the path where you extracted the ImageMagick files. For example:
$ export MAGICK_HOME="$HOME/ImageMagick-6.8.9"
If the bin subdirectory of the extracted package is not already in your executable search path, add it to your PATH environment variable. For example:
$ export PATH="$MAGICK_HOME/bin:$PATH"
On Linux and Solaris machines add $MAGICK_HOME/lib to the LD_LIBRARY_PATH environment variable:
$ LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$MAGICK_HOME/lib"
$ export LD_LIBRARY_PATH
Finally, to verify ImageMagick is working properly, type the following on the command line:
$ convert logo: logo.gif
$ identify logo.gif
$ display logo.gif