Proper Installation of Imagemagick

Please do the following steps for installing imagemagick.

You can install imagemagick using the script


If the installation is not successful, please download and install it from source file.

Download –>
cd /downloaded/path – mostly /usr/src/
cd ImageMagick-6.7.7-3
make install

If you are installing imagamagick from source, then you need to install perl magick also. The perl magick is included in the imagemagick untared directory.

cd /usr/src/ImageMagick-6.7.7-3/PerlMagick/
perl Makefile.PL
make install

Some php scripts need imagick need to be installed.

Download imagick-2.3.0.tgz to /usr/src
cd /usr/src
tar -xvzf imagick-2.3.0.tgz
cd imagick-2.3.0/
make install

You need to add the extension file in the php.ini file.

You can check the version of imagemagick using the following command

convert -v

You can check whether imagemagick and perl magick installed successfully using the following command


tadaaaa 😀

Leave a Reply

Your email address will not be published. Required fields are marked *