• Happy Coding

Debian RMagick install: “Can’t find Magick-config”

I executed

gem install rmagick

and got the following error:

checking for Magick-config... no
Can't install RMagick 2.3.0. Can't find Magick-config in [...]

I had to install the libmagick9-dev package with

apt-get install libmagick9-dev

to solve this problem.

  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Ma.gnolia
  • MisterWong
  • Reddit
  • SphereIt
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yigg
  • LinkedIn
  • Print this article!
  • Tumblr
  • Pownce
  • #1
    Posted by yook on April 13th, 2009 at 2:32 am

    Thanks!!!1

  • #2
    Posted by Alex on May 19th, 2009 at 8:44 pm

    Thank you for help, that works!

  • #3
    Posted by skob on May 28th, 2009 at 6:20 pm

    thank you so much.
    for ubuntu it was the packet “libmagickcore-dev”

  • #4
    Posted by noname on June 3rd, 2009 at 6:57 pm

    Thx, great help.

  • #5
    Posted by Adrien Lamothe on October 5th, 2009 at 8:38 pm

    For Ubuntu, I found that you also need to install libmagickwand-dev in order to install the rmagick gem:

    sudo apt-get install libmagickwand-dev

    sudo gem install rmagick

  • #6
    Posted by Arun Kumar on October 16th, 2009 at 8:07 am

    sudo apt-get install libmagickwand-dev – This thing worked for me :)

  • #7
    Posted by Justme on November 6th, 2009 at 12:04 am

    Thanks, great help!!!

  • #8
    Posted by dimanlin on November 11th, 2009 at 4:57 pm

    Thanks!!! ;)

  • #9

    [...] a little I found this page which explains what to do, which is ‘apt-get install libmagickcore-dev‘ as root or [...]

  • #10
    Posted by Sachin on November 20th, 2009 at 8:40 am

    Thanks…:)

  • #11
    Posted by Mark on June 22nd, 2010 at 9:54 pm

    On Ubuntu 10.04LTS, I ONLY had to do: apt-get install libmagick9-dev

    I did NOT have to install any of the other libs / devs as indicated by others above.

  • #12
    Posted by Alexander on July 9th, 2010 at 10:11 am

    Thanx for help!

  • #13
    Posted by @klebervirgilio on August 16th, 2010 at 4:07 pm

    WOOOWWW!! Tks so much!! works for me!

  • #14
    Posted by diz on April 4th, 2012 at 7:04 am

    yum install ImageMagick-devel
    for Fedora (and CentOS)

Share your opinion! Post your thoughts.