Skip navigation.
Home
Free Online Computer Help Community

Question: How do I install Image Magick on a Linux Server running CentOS 5 or similar?

Computer Help's picture

Here are the instructions I use to successfully install Image Magik on shared and dedicated servers via a SSH/Shell Window:

The Image Magick installation is pretty straight forward if you are not missing any dependences. The instructions were used to installed Image Magick 6.3.4.10 at the time of this writing. When newer versions are released you may want to change a few of these instructions to suit the version you are trying to apply. Such as, where your using the "wget" command and working through the directory structure. You will be able to use these instructions as a guider on what you should be doing to get this installed and up and running on your server or box.

Open up your SSH/Shell window and run the following commands in exact order. If you need to download any missing dependences then you may break order as need to get these onto your box/server.

Step 01.) cd /root
Step 02.) wget ftp://ftp.imagemagick.net/pub/ImageMagick/ImageMagick-6.3.4-10.tar.gz
Step 03.) tar -xvzf ImageMagick-6.3.4-10.tar.gz
Step 04.) rm -rf ImageMagick-6.3.4-10.tar.gz
Step 05.) cd ImageMagick-6.3.4
Step 06.) ./configure --prefix=/usr
Step 07.) make
Step 08.) make install
Step 09.) cd PerlMagick
Step 10.) perl Makefile.PL
Step 11.) make
Step 12.) make install
Step 13.) cd ../..
Step 14.) rm -rf ImageMagick-6.3.4

Installation files should be removed and Image Magick should now be ready to be used on the server. Questions and concerns can be addressed in the comments section at the bottom of this blog page.