how can we install 6.8.7 on Debian and Ubuntu?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
nitrofurano
Posts: 8
Joined: 2011-02-13T07:37:10-07:00
Authentication code: 8675308

how can we install 6.8.7 on Debian and Ubuntu?

Post 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!
AllanWilson
Posts: 1
Joined: 2013-11-09T14:31:15-07:00
Authentication code: 6789

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

Post 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
Josha
Posts: 1
Joined: 2013-12-09T13:09:15-07:00
Authentication code: 6789

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

Post 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.
Post Reply