Install ImageMagick over SSH

Please Note:

The text on this page was translated by translation software. A revised version from our editors will be available soon.

For Managed Dedicated Servers

Learn how to install the latest version of ImageMagick on the managed server.

Please note: An older version of ImageMagick is pre-installed on the managed servers. The installation is only necessary if you are dependent on the latest version.

ImageMagick is a library that allows PHP programs to manipulate graphics, for example. ImageMagick can handle up to 100 different graphic formats, including.jpg,.png,.tif etc.

  • Step 1
  • Log in to your managed server via SSH.

Step 2

Download the source code of ImageMagick with the command wget. Example:

step 3

Unpack the archive with the following command:

tar xfvz ImageMagick.tar.gz 
Step 4

Use the cd command to switch to the directory with the source code, here is an example:

cd ImageMagick-6.7.4-1/ 
Step 5

Use the pwd command to display the absolute path of the directory. This will be needed later for the installation, the output looks like this:

Step 6

Use the ./configure command to prepare the program for compilation. Since you do not have access rights to the directory specified in the script, use the --prefix option to install ImageMagick to a subdirectory of your home directory. Here is an example of entering the./configure command:

./configure --prefix=/kunden/homepages/30/d339922114/htdocs/ImageMagick
Step 7

Enter the command make. If there is no error message, enter the command make install at the next prompt.

Step 8

The installation is complete, you can now access the most frequently used functions of ImageMagick in your scripts by calling /ImageMagick/bin/convert.