You are Here: FAQ ->Dedicated Servers->Root Server->Article #7


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


Installation of ImageMagick




Please note
To install ImageMagick you MUST have a Root Server Package or Linux Business Pro or higher to install ImageMagick


1. Log into the webspace account via SSH and make a directory named "imagemagick"
Fedora Core 3
#mkdir /home/httpd/vhost/domain-name/httpdocs/imagemagick
Fedora Core 4
#mkdir /var/www/vhost/domain-name/httpdocs/imagemagick
2. Download the latest version of Imagemagick from the website: http://www.imagemagick.org
#wget path_to_imagemagick_file
3. Unpack the downloaded file by using the command
#tar zxvf name_of_imagemagick_file
4. Change directory into the new unpacked file and run the command
#./configure --prefix=PATH

**PATH is the absolute path to the directory created in step [3]. To find the path type #pwd

Output of ./configure;


  Host system type : i686-pc-linux-gnu

Option            Configure option              Configured value
-----------------------------------------------------------------
Shared libraries  --enable-shared=no            no
Static libraries  --enable-static=yes           yes
GNU ld            --with-gnu-ld=yes             yes
LZW support       --enable-lzw=yes              yes
Quantum depth     --with-quantum-depth=16       16

Delegate Configuration:
BZLIB             --with-bzlib=yes              yes
DPS               --with-dps=yes                no (failed tests)
EXIF              --with-exif=yes               no
FlashPIX          --with-fpx=yes                no
FreeType 2.0      --with-ttf=yes                yes
Ghostscript       None                          gs (unknown)
Ghostscript fonts --with-gs-font-dir=default    none
Ghostscript lib   --with-gslib=no               no
JBIG              --with-jbig=yes               no
JPEG v1           --with-jpeg=yes               yes
JPEG-2000         --with-jp2=yes                no
LCMS              --with-lcms=yes               yes
Magick++          --with-magick-plus-plus=yes   yes
PERL              --with-perl=yes               /usr/local/bin/perl
PNG               --with-png=yes                yes
TIFF              --with-tiff=yes               yes
Windows fonts     --with-windows-font-dir=      none
WMF               --with-wmf=yes                no
X11               --with-x=                     yes
XML               --with-xml=yes                yes
ZLIB              --with-zlib=yes               yes

X11 Configuration:
  X_CFLAGS     = 
  X_PRE_LIBS   = -lSM -lICE
  X_LIBS       = -L/usr/X11R6/lib
  X_EXTRA_LIBS = 

Options used to compile and link:
  CC       = gcc
  CFLAGS   = -g -O2 -Wall
  CPPFLAGS = -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/include/libxml2
  CXX      = g++
  CXXFLAGS = -g -O2
  LDFLAGS  = -L/usr/X11R6/lib -lfreetype -L/usr/lib
  LIBS     = -llcms -ltiff -lfreetype -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm
5. Type the command;
#make
6. After step [6] type the command;
#make install

****Installation Complete****




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