# Having Problem Installing RMagick

**URL:** <https://www.ruby-forum.com/t/having-problem-installing-rmagick/91339>\
**Category:** Ruby\
**Created:** [April 6, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/having-problem-installing-rmagick/91339 "2007-04-06T23:58:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [April 6, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/having-problem-installing-rmagick/91339/1 "2007-04-06T23:58:15Z")

</div>

I’m trying to install RMagick on Kubuntu Dapper using Rubygems. My  
installation is failing with the following error message:

configure: error: Can’t install RMagick. Can’t find Magick-config or  
GraphicsMagick-config program.

ERROR: While executing gem … (RuntimeError)  
ERROR: Failed to build gem native extension.  
Gem files will remain installed in  
/usr//lib/ruby/gems/1.8/gems/rmagick-1.15.5 for inspection.

Results logged to  
/usr/lib/ruby/gems/1.8/gems/rmagick-1.15.5/gem\_make.out

* * *

/usr/lib/ruby/gems/1.8/gems/rmagick-1.15.5/gem\_make.out is an empty  
file.

My guess is that there’s something I need to install, but I haven’t the  
foggiest what package. I’ve browsed through Synaptic, but I don’t see an  
obvious development package I’ve missed.

Could someone offer me a little help here?

Thanks in advance  
—Michael

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [April 7, 2007, 12:16am UTC](https://www.ruby-forum.com/t/having-problem-installing-rmagick/91339/2 "2007-04-07T00:16:33Z")

</div>

Alle venerdÃ¬ 6 aprile 2007, Michael S. ha scritto:

> obvious development package I’ve missed.
> 
> Could someone offer me a little help here?
> 
> Thanks in advance  
> —Michael

The first line of the error message tells that the installation script  
wasn’t  
able to find one of the two programs Magick-config or  
GraphicsMagick-config.  
Going to the Ubuntu packages site ([http://packages.ubuntu.com/](http://packages.ubuntu.com/)) and  
entering  
that name in the search contents of packages field, you’ll find that the  
package you need is called libmagick9-dev (note: I don’t use  
Ubuntu/Kubuntu/Xubuntu, so I can’t test my suggestion.)

I hope this helps

Stefano

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [April 7, 2007, 12:17am UTC](https://www.ruby-forum.com/t/having-problem-installing-rmagick/91339/3 "2007-04-07T00:17:34Z")

</div>

Michael S. wrote:

> I’m trying to install RMagick on Kubuntu Dapper using Rubygems. My  
> installation is failing with the following error message:
> 
> configure: error: Can’t install RMagick. Can’t find Magick-config or  
> GraphicsMagick-config program.

Google “rmagick kubuntu install” gets me this hit. I notice it was last  
updated on 2/27/2006.

[http://blog.inlet-media.de/rmagick-does-not-play-well-on-ubuntu](http://blog.inlet-media.de/rmagick-does-not-play-well-on-ubuntu)
