Thursday, September 27, 2007

RMagick installation on Fedoras

RMagick requires ImageMagick and ImageMagick-devel libraries.
Your distribution may include at least some of these libraries by default and probably provides pre-built packages for the others. If not, these are available as source code tarballs from

Or you can install these using the yum command:

$yum install ImageMagick

$yum install ImageMagick-devel

RMagick also needs Windows TureType font, download the rpm from here:

Install this:
$ rpm -ivh msttcorefonts-2.0-1.noarch.rpm

Make a symbolic link the font dir to the place rmagick expects them:

ln -s /usr/share/fonts/msttcorefonts /usr/share/fonts/default/TrueType

Some applications based on RMagick also requires freeimage header files.
Download freeimage from here
Unzip the file and cd to the freeimage dir and run following commands

# make
# make install

Now install RMagic using the gem

$ gem install RMagick --include-dependencies

Whats new in Ajuby 0.5