Installing rmagick on Ubuntu

后端 未结 15 2047
北恋
北恋 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:07

    On Ubuntu 15.04, what solved it for me was to remove all previous *magick installations, reinstall required packages and then symlink the config file:

    sudo apt-get purge graphicsmagick graphicsmagick-dbg imagemagick-common imagemagick imagemagick-6.q16 libmagickcore-6-headers libmagickwand-dev graphicsmagick-libmagick-dev-compat
    sudo apt-get autoremove
    sudo apt-get install imagemagick libmagickwand-dev
    sudo ln -s /usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/Magick-config /usr/bin/Magick-config
    gem install rmagick
    

提交回复
热议问题