Code: Select all
sudo apt-get install imagemagick libmagick++-dev
Not totally sure that this is safer than a prefixed install w.r.t. to other software that uses IM (and may prefer an other version than the one compiled from source). I suppose we'll find out.Also, I'm pretty sure the "official" way of installing ImageMagick is best:
http://www.imagemagick.org/script/install-source.php
By default, it installs in /usr/local, which I'm starting to really like. As long as you perform
sudo ldconfig /usr/local/lib/
the newest version of ImageMagick will be used. So now when I type
pkg-config --modversion ImageMagick
it returns 7.0.0.
As long as the user follows those steps, my scripts won't complain. I think it's pretty straightforward.
P.S. From Adam:
The Synaptic version of ImageMagick is installed in /usr whereas the source version is installed in /usr/local.