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)
- run
sudo apt-get install imagemagick - Then, install the imagemagick9 dev library:
sudo apt-get install libmagick9-dev - Last, install the RMagick gem:
sudo gem install rmagick - That’s it! Now peruse the RMagick documentation and start processing images!
In step 1, I kept getting error message about “libglib2.0-0 2.16.3-1ubuntu2 not found”. So after much googling found some posts that suggest I should do “sudo apt-get update” first. I did that and was able to go through your steps. So maybe apt-get update should be step 0. Thanks.
@HD:
Thanks for the comment, sudo apt-get update is of course always step 0, but a good rule bears repeating, so I have updated my post
[...] I know to install a Ruby & Rails working environment. I have to give mention to RubyHead and Enrailed for pointing me in the right direction, and this guide is based on their [...]
Well said.
Thanks a bunch. for some reason if i run the same steps in aptitutde rmagick doesn’t compile. However, your steps worked, using apt-get. i’ll stick to apt-get from now on. I’m sure there is a reason but hey, who cares, if it works
You made my day, thanks bro