You are Here: FAQ ->Scripting and Programming Languages->SSH (Secure Shell)->Article #9


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


How do I install ImageMagick?



1. To install ImageMagick you will need to log in to your server or webspace with SSH.
From the command line first download and unzip the source:
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

Image Magic 1


2. Next type, tar -xzvf ImageMagick.tar.gz

Image Magic 2


3. Next type, cd ImageMagick-6.2.6

Image Magic 3


4. The following commands will install ImageMagick into your home directory.
--without-Perl and --without-ttf will disable Perl and TrueType support; without
these switches the install will fail. /path/to/your/htdocs/im should be replaced
with the actual path to your home directory, and the last part, IM, can be changed
to anything. The command "pwd" will tell you the present working directory.

./configure --prefix=/path/to/your/htdocs/im --without-perl --without-ttf

Image Magic 4


5. Next type, make

Image Magic 5



6. Next type, make install

Image Magic 6



When these steps are completed ImageMagick will be installed in your home directory.
Please note that since this is a non-standard location, you may have to modify the configuration of other programs that use it so that they can find it. Any executables will also not be on the default executable search path.






Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5