Upgrade ImageMagick to the latest version


A lot of people are looking for an updated installation of ImageMagick instead of those pesky yum packages on Redhat or CentOS. To upgrade to the last version, use these commands :

# uninstall old ImageMagick
yum remove ImageMagick

# get new ImageMagick sources
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

# untar
tar -zxvf ImageMagick*.tar.gz
cd ImageMagick*

# configure and make
./configure
make

# install
make install

# test ImageMagick (shouldn’t report an error)
convert logo: logo.gif

# fix problem with rmagick not finding ImageMagick libraries
echo /usr/local/lib >> /etc/ld.so.conf.d/ImageMagick.conf
ldconfig

# update rmagick
gem install rmagick

I found this at https://support.railsmachine.com/index.php?pg=kb.page&id=133

  1. No comments yet.
(will not be published)
  1. No trackbacks yet.