# RMagick Installation woes

**URL:** <https://www.ruby-forum.com/t/rmagick-installation-woes/175453>\
**Category:** Rails\
**Created:** [September 14, 2009, 7:53am UTC](https://www.ruby-forum.com/t/rmagick-installation-woes/175453 "2009-09-14T07:53:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@ram](https://www.ruby-forum.com/u/ram)\
**Post date:** [September 14, 2009, 7:53am UTC](https://www.ruby-forum.com/t/rmagick-installation-woes/175453/1 "2009-09-14T07:53:31Z")

</div>

Hi,

I need to install Rmagick to get re-sizing working with Paperclip. My  
dev machine is on Mac OSX Leopard and the server is on Ubuntu Intrepid  
8.1

I dint have Macports or wget at first. I was following this article -  
[http://onrails.org/articles/2007/11/03/installing-rmagick-on-leopard-without-macports-or-fink](http://onrails.org/articles/2007/11/03/installing-rmagick-on-leopard-without-macports-or-fink).  
Ive done this before too. But some dependency always failed.

I want to start with a clean slate now, given that ive installed wget  
and Macports too. I need some guidance on the following

1. Removing installed/ half-installed versions of the dependencies in  
the above post from my local machine.
2. I have macports but dont have XCode 3.1 and dont have an apple  
developer account so should i go get one or rather install using the  
above article?
3. Any reliable article on how to install on Ubuntu Intrepid?

Thanks.

---

<div class="post-metadata">

**Author:** ![ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@ram](https://www.ruby-forum.com/u/ram)\
**Post date:** [September 14, 2009, 8:43am UTC](https://www.ruby-forum.com/t/rmagick-installation-woes/175453/2 "2009-09-14T08:43:51Z")

</div>

For Ubuntu you can try following commands:

$ sudo apt-get install imagemagick  
$ sudo apt-get update --fix-missing && sudo apt-get install  
imagemagick # only if above commands fails for some reason  
$ sudo apt-get install libmagick9-dev  
$ sudo gem install rmagick

## Thanks, Abhinav

à¤…à¤­à¤¿à¤¨à¤µ  
[http://twitter.com/abhinav](http://twitter.com/abhinav)

---

<div class="post-metadata">

**Author:** ![ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@ram](https://www.ruby-forum.com/u/ram)\
**Post date:** [September 14, 2009, 9:17am UTC](https://www.ruby-forum.com/t/rmagick-installation-woes/175453/3 "2009-09-14T09:17:13Z")

</div>

I finally got everything installed and working on my dev machine by  
removing downloaded dependencies and then following  
[http://pastie.org/282226](http://pastie.org/282226)  
with wget.

Thank you Abhinav. I will try your suggestion when installing on the  
server.
