tips for installing ImageMagick on a server where you dont have root

Author Message

Juan Pablo Liska

Tuesday 24 June 2003 5:41:59 pm

i did this on a host that has redhat 7.3 which uses rpm ver 3.
i had ssh access, but you could just put this in a php file with system calls.

1. download rpm2cpio.pl
2. copied cpio binary from another server (conectiva 8) it works
3. download the ImageMagick rpm for redhat 7.2/7.3
4. download Xfree rpm from redhat (http://ftp.redhat.com/pub/redhat/linux/7.3/en/os/i386/RedHat/RPMS/XFree86-libs-4.2.0-8.i386.rpm)

chmod 775 rpm2cpio.pl
mkdir im
cd im
../rpm2cpio.pl ../ImageMagick-5.4.X-Y.i386.rpm | cpio -iduv
../rpm2cpio.pl ../XFree86-libs-4.2.0-8.i386.rpm | cpio -iduv
export LD_LIBRARY_PATH='$PWD/usr/lib:$PWD/usr/X11R6/lib'
usr/bin/convert

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.