cat install-imagemagick.sh #!/bin/bash su -c '( # uncomment the following line if you need to get the file #wget 'http://downloads.sourceforge.net/imagemagick/ImageMagick-6.3.0-5.tar.gz' tar -xzvf ImageMagick-6.3.0-5.tar.gz cd ImageMagick-6.3.0 ./configure make make install cd - rm -rf ImageMagick-6.3.0 )' 2>&1 | tee installImageMagickOut.txt echo " ***************************************************************** image magic should be installed from source. now let's test if perl -MImageMagick works you may get errors about a missing .so file if this happens, try doing ( updatedb; locate the-so-file.so; ) then change /etc/ld.so.conf to include the directory containing that file then do ldconfig and try again ***************************************************************** " /usr/local/path/to/custom/perl -MImage::Magick -e ''