Hello,

In this guide, we will install ImageMagick. First off, you need to determine whether or not you are installing ImageMagick on a 32bit operating system, or a 64 bit operating system. To do so is pretty easy. First off, login to your server's shell as root, and run this command:

uname -a

Your server will output something like this:

Linux hostname.myserver 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
or
Linux hostname2.myserver 2.6.18-128.1.10.el5PAE #1 SMP Thu May 7 11:14:31 EDT 2009 i686 i686 i386 GNU/Linux

These are two examples, and the important part is the x86_64 or the i686. If you see x86_64, you have a 64 bit operating system. If you see i686 or i386, you have a 32 bit operating system.


If you have a 64 bit operating system on your server, please run the following commands to install ImageMagick:

cd /usr/src
wget http://downloads.sourceforge.net/imagemagick/ImageMagick-6.4.7-10.tar.gz?use_mirror=superb-east
tar -xvzf ImageMagick-6.4.7-10.tar.gz
rm -rf ImageMagick-6.4.7-10.tar.gz

cd ImageMagick-*
./configure --prefix=/usr LDFLAGS="-L/usr/lib -Wl,-rpath,/usr/lib"
make
make install

cd PerlMagick
perl Makefile.PL
make
make install
cd ../..
rm -rf ImageMagick-6.4.7-10



If you have a 32 bit operating system on your server, please run the following commands to install ImageMagick:



cd /usr/src
wget http://downloads.sourceforge.net/imagemagick/ImageMagick-6.4.7-10.tar.gz?use_mirror=superb-east
tar -xvzf ImageMagick-6.4.7-10.tar.gz
rm -rf ImageMagick-6.4.7-10.tar.gz

cd ImageMagick-*
./configure --prefix=/usr
make
make install

cd PerlMagick
perl Makefile.PL
make
make install
cd ../..
rm -rf ImageMagick-6.4.7-10




Once the script finishes installing, you are all done.

  • 1 Users Found This Useful
Was this answer helpful?

Also Read

Website suddenly unreachable?

There is a firewall on the server that blocks your IP if you type in the wrong username/password...

How to view your website using your server's IP address.

When your website is located on a shared server you are hosted on what?s called a static IP...

Stop Spam from Arriving in your Inbox

Unsolicited Bulk Email (UBE) or "spam" is one of the most common annoyances on the Internet...

Digital Millennium Copyright Act

On this page, you will find information about copyright infringement procedures and policies that...

FFMPEG installation instruction

Installing FFMPEG This guide will show you step by step how to install ffmpeg. First, you will...