Installing latest ImageMagick and Imagick on CentOS 6

Quick and easy and way to install ImageMagick and Imagick on CentOS 6.6 in 5 mins or less

This article was last updated on 2/16/2015.

The versions are as follows:

  • ImageMagick 6.9.0-4 Q16 x86_64 2015-01-23
  • Imagick-3.2.0RC1

First I recommend you enable the Remi repository is an amazing repository because it has the latest version of PHP and other software products.

#wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm rpm -Uvh remi-release-6*.rpm

If you want to permanently enable the Remi repository, you need to edit the yum configuration file for Remi.

Open the repository configuration file by using a text editor of your choice:

#vi /etc/yum.repos.d/remi.repo

Edit the [remi] portion of the file to set the enabled option to 1. This action enables the Remi repository by default.

Next, its time to install the latest version of ImageMagick from the Remi repository.

# yum install ImageMagick-last

This Development package includes a few things required for Imagick

# yum install ImageMagick-last-devel
# wget http://pecl.php.net/get/imagick-3.2.0RC1.tgz

The current latest version of Imagick is3.2.0 from 2013. Latest versions can be downloaded from here

# tar xvf imagick-3.2.0RC1.tgz
# cd imagick-3.2.0RC1
# phpize
# ./configure
# make
# make install
Finally restart your webserver
# service httpd restart

Finally view your phpinfo to confirm that Imagick is enabled and working!

For those unsure on how to create a phpinfo file. Create a file with the following code:

<?php phpinfo(); ?>

phpinfo ImageMagick and Imagick

Have something to add?

Loading Facebook Comments ...
Loading Disqus Comments ...