Can't install rmagick gem on Ubuntu 13.04

拈花ヽ惹草 提交于 2019-12-03 04:16:45

try this out

first install imagemagick

sudo apt-get install imagemagick

and then

sudo apt-get install libmagickwand-dev

Solution is to add ppa where those libs could be found.

Add PPA:

sudo add-apt-repository ppa:ricotz/testing

Then update package list:

sudo apt-get update

Finally install it with:

sudo apt-get install libmagickwand-dev

Try clearing your apt repository and removing any broken packages first:

sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove

If the system identifies any broken packages, forcefully remove them (replace package_name with your own):

sudo dpkg --remove -force --force-remove-reinstreq package_name

Then reinstall any missing packages again.

You only need to install:

sudo apt-get install libmagickwand-dev

Here is the good example on this blog

The below command will solve your problem. It helped me to install rmagick.

sudo apt-get install libdjvulibre-dev libjpeg-dev libtiff-dev libwmf-dev libmagickcore-dev libmagickwand-dev libmagick++-dev

This worked for me:

  1. sudo apt-get install libcairo2=1.14.6-1 --reinstall
  2. sudo apt-get install libmagickwand-dev
  3. sudo gem install rmagick
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!