What is ImageMagick? ImageMagick is a linux program that let you create, edit, display or convert bitmap image on linux workstation or server. ImageMagick supports over a hundred of image formats, some popular format like jpeg, png, pdf, svg, tiff and alot more. With ImageMagick, you can add effects, resize, crop, color change, roate, add text, line, as much as you can think of what to do what that image. In this article I’m going to show you how to install ImageMagick 6.8 on Linux Mint and Ubuntu
You can download ImageMagick source code from imagemagick official website
First you need to install all the build dependencies and other tools to install ImageMagick
$ 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
The newest version of ImageMagick is 6.8.7-5 as of the time I’m writing this article
$ wget http://www.imagemagick.org/download/ImageMagick-6.8.7-5.tar.gz
Untar or uncompressed the ImageMagick file you downloaded
$ tar -xzvf ImageMagick-6.8.7-5.tar.gz
Now change your working directory to ImageMagick-6.8.7-5 directory
$ cd ImageMagick-6.8.7-5
To show available options to install for ImageMagick
$ ./configure --help
Finally now we are going to install ImageMagick 6.8 on Linux Mint and Ubuntu. Instead of using *make install* command, we are going to to use *checkinstall* command. Why use *checkinstall* instead of *make install* ? Checkinstall will allow for easy ImageMagick packages later on.
$ sudo checkinstall
You can find the full list of Imagemagick command line options from
http://www.imagemagick.org/script/command-line-options.php
To remove ImageMagick package
$ sudo dpkg -r imagemagick-6.8.7-5