Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

Install ImageMagick 7.0.4 from source- CentOS 7.3

We recently needed the latest build of ImageMagick on one of our servers for PSD preview generation on OwnCloud. ImageMagick version 6, which ships with the base repo of CentOS 7 is broken and doesn’t generate PSD previews. Downloading rpm’s from ImageMagick’s website doesn’t help either, they require dependencies which seem illusive to find. There are two options left, install from source or install from Remi’s repo. We’re going to cover installing from source in this guide:

It’s always a good idea to install the group Development Tools before you install / compile anything from source:

yum groupinstall "Development Tools"

Grab the source from their website:


Extract the archive:

tar xvzf ImageMagick.tar.gz

Enter the extracted directory

cd ImageMagick-7*

Issue configure at the shell


Issue make  at the shell


Issue install  at the shell

make install

Configure the dynamic linker by issuing the following at shell

ldconfig /usr/local/lib

That’s it, you’re done. To verify the installation you can issue the following

convert -version

Should return something like the following,

Version: ImageMagick 7.0.4-0 Q16 x86_64 2016-12-23
Copyright: Copyright 1999-2017 ImageMagick Studio LLC
Features: Cipher DPC HDRI OpenMP
Delegates (built-in):