Installing Imagemagick Rmagick on RHEL 5.0 4

Posted by Joel Jensen Thu, 27 Oct 2011 16:47:00 GMT

Don't even go there.

Wait, I have to.

Ok, Yum wont work, the version of ImageMagick and graphics magick that it installs is ancient, and wont work with ruby later than 1.8.5

You need to compile from source.

heres how

sudo yum install libjpeg-devel libpng-devel glib2-devel fontconfig-devel zlib-devel libwmf-devel freetype-devel libtiff-devel
wget ftp://ftp.imagemagick.org/pub/ImageMagick/legacy/ImageMagick-6.5.0-10.tar.gz
tar -xzf ImageMagick-6.5.0-10.tar.gz 
cd ImageMagick-6.5.0-10
./configure --disable-static --with-modules --without-perl      --without-magick-plus-plus --with-quantum-depth=8 
make
sudo make install
cd /usr/bin
sudo ln -s /usr/local/bin/Magick-config 
sudo gem install rmagick
Comments

Leave a comment

  1. amsterdam hen nights about 1 month later:

    Yahoo help states that it supports imagemagick, but i wonder if this means it is already installed and available on every of their web hosting accounts. Thanks

  2. Novo7 Paladin 2 months later:

    Your article was a good read, and I like the way you write. By the way, let me recommend you an Novo7 Paladin.

  3. TRX Suspension 2 months later:

    which is really No. 12 among the Captain Kirk functional trainer

  4. TRX Suspension 2 months later:

    which is really No. 12 among the Captain Kirk functional trainer

Comments