Rmagick installation/configuration with rails on Ubuntu or fedora

Rmagick installation on Ubuntu

I have seen many times that people are facing a lot of problem in installing RMagick and Image Magick on ubuntu…….The same problem was faced by me and i got it solve by following the steps given below

Download RMagick and Imagemagick..

put RMagick in the vendors folder where u want it to run from and Image Magick on Desktop

Go to the Path where Image Magick is stored and follow the steps

1) ./configure

2) make

3) make install

if you get an error while doing this task

type the following command in terminal

apt-get install build-essential (make sure that ruby dev is installed)

once you have done this follow the above 3 steps and things should start working

So thats all about ImageMagick

now come RMagick installation

move the the RMagick installation path and follow the steps

1) ./configure

Thats it..now things should work..

You may even try doing this

sudo apt-get install imagemagick
sudo apt-get install libmagick9-dev
sudo gem install rmagick

I dont think u will get any error. If you get any post ur errors as comment and get it solved..

Setting up ImageMagick & rmagick on Redhat

  1. sudo yum install libjpeg-devel libpng-devel glib2-devel fontconfig-devel zlib-devel libwmf-devel freetype-devel libtiff-devel
  2. wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.2-9.tar.gz
  3. tar zxzvf ImageMagick-6.3.2-9.tar.gz
  4. cd ImageMagick-6.3.2-9
  5. ./configure
  6. make
  7. sudo make install
  8. sudo gem install rmagick
Be Sociable, Share!