Installing rmagick on Ubuntu

后端 未结 15 2003
北恋
北恋 2020-12-02 05:38

I\'m trying to get RMagick setup on Ubuntu 10.04. Looked here but had no joy. I even compiled and installed ImageMagick from source, but the instructions here still didn\'t

相关标签:
15条回答
  • 2020-12-02 06:22

    Install the packages imagemagick and libmagickwand-dev (or libmagick9-dev). You should then be able to install the Rmagick Gem.

    sudo apt-get install imagemagick libmagickwand-dev
    

    If not, you are missing ruby related development packages like build-essential and ruby1.8-dev. If that's the case, a generic "ubuntu install ruby 1.8" query in google should sort you out.

    0 讨论(0)
  • 2020-12-02 06:25

    In ubuntu 16.04.3:

    This i worked:

    sudo apt install imagemagick imagemagick-6.q16

    It means this installed imagemagick then you can run RMagick.

    0 讨论(0)
  • 2020-12-02 06:28

    In Ubuntu 13.10

    This code worked for me

    sudo apt-get install graphicsmagick-libmagick-dev-compat libmagickwand-dev

    gem install rmagick

    0 讨论(0)
提交回复
热议问题