The Computer Oracle

How to install rmagick on Ubuntu 10.04?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Luau

--

Chapters
00:00 How To Install Rmagick On Ubuntu 10.04?
00:51 Accepted Answer Score 128
01:07 Answer 2 Score 2
01:24 Answer 3 Score 30
01:31 Answer 4 Score 5
01:52 Thank you

--

Full question
https://superuser.com/questions/163818/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#ubuntu1004 #imagemagick #rubygems

#avk47



ACCEPTED ANSWER

Score 128


I think you also have to install libmagickwand-dev from the ubuntu archive:

sudo apt-get install libmagickwand-dev

This package contains the MagickWand.h file.




ANSWER 2

Score 30


sudo apt-get install libmagickwand-dev imagemagick



ANSWER 3

Score 5


I did as following step to build from source

> wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
> tar -xzvf ImageMagick.tar.gz
> ./configure --prefix=/usr/local --with-x=no --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --disable-openmp
> make
> sudo make install
> sudo /sbin/ldconfig /usr/local
> sudo ln -f /usr/local/bin/Magick-config /usr/bin/Magick-config
> sudo PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ gem install rmagick

Result

Building native extensions.  This could take a while...
Successfully installed rmagick-2.13.1
1 gem installed



ANSWER 4

Score 2


I had a similar problem and came across this post: http://www.question-defense.com/2010/05/18/centos-linux-cant-install-rmagick-2-7-0-cant-find-magick-config

After I installed libmagick9-dev i could install rmagick gem without problem. Hope this helps.