Installing ImageMagick / RMagick on Ubuntu Hardy Heron 6

Posted by Runar Svendsen on May 02, 2008

This is a short description of how I installed the ImageMagick framework and its Ruby wrapper (RMagick) on an Ubunty 8.04 (Hardy Heron) OS. This tutorial requires that ruby and gems are installed. See www.rubyonrails.com for more info.

Step 0: run sudo apt-get update (thanks for reminding me, HD)

  1. run
    sudo apt-get install imagemagick
  2. Then, install the imagemagick9 dev library:
    sudo apt-get install libmagick9-dev
  3. Last, install the RMagick gem:
    sudo gem install rmagick
  4. That’s it! Now peruse the RMagick documentation and start processing images!