Page 1 of 1

how can we install 6.8.7 on Debian and Ubuntu?

Posted: 2013-10-18T07:12:28-07:00
by nitrofurano
hi! i'm about to install Imagemagick 6.8.7 , but 6.7.7 is the last version available from both Ubuntu (13.10) and Debian (Jessie, testing) repositories.
Since it seems that i really need 6.8.7 (seems to have the LAB and YUV accuracy that i actually need), how can we install 6.8.7 there?
Is there any ppa, any ready .deb or tarball installer? from the official website i only can find a .rpm, that i don't know if it will corrupt dependencies... - can we safely convert that .rpm into .deb or tarball via Alien package converter? or we really need to compile it from sources? (which situation i really wanted to avoid...)
thanks!

Re: how can we install 6.8.7 on Debian and Ubuntu?

Posted: 2013-11-09T14:34:08-07:00
by AllanWilson
First you need to install all the build dependencies and other tools to install ImageMagick

Code: Select all

$ sudo apt-get update
$ sudo apt-get install build-essential checkinstall libx11-dev libxext-dev zlib1g-dev libpng12-dev libjpeg-dev libfreetype6-dev libxml2-dev
$ sudo apt-get build-dep imagemagick
Then download and install ImageMagick

Code: Select all

$ wget http://www.imagemagick.org/download/ImageMagick-6.8.7-5.tar.gz
$ tar -xzvf ImageMagick-6.8.7-5.tar.gz
$ cd ImageMagick-6.8.7-5
$ sudo checkinstall
I found this article from nam huy linux blog http://namhuy.net/1730/install-imagemag ... buntu.html

Re: how can we install 6.8.7 on Debian and Ubuntu?

Posted: 2013-12-09T22:16:04-07:00
by Josha
I followed the same route, but to get it compiling and use it afterwards I had to perform two additional steps resulting in the following (with version 6.8.7-9):

Code: Select all

$ wget http://www.imagemagick.org/download/ImageMagick-6.8.7-9.tar.gz
$ tar -xzvf ImageMagick-6.8.7-9.tar.gz
$ cd ImageMagick-6.8.7-9
$ ./configure (or configure or sudo configure)
$ sudo checkinstall
$ ldconfig /usr/local/lib (or sudo ldconfig /usr/local/lib)
I performed it as root, so I don't know if you need sudo with the configure and/or ldconfig calls.