Page 1 of 1

imagemagick

Posted: Tue Jan 23, 2007 11:50 am
by modom46
Hi,

Where can I get imagemagick to install on my server?

Thanks!

Posted: Tue Jan 23, 2007 12:29 pm
by scott
yum install ImageMagick

If you're looking for imagemagick type functions in php, you want to use the gd() library (yum install php-gd). GD's function calls correspond to the same utility names (convert, mogrify, etc) that Imagemagick uses.

Posted: Tue Jan 23, 2007 1:10 pm
by modom46
Thanks Scott but ImageMagick is not anywhere to be found using yum:

[root@godslove ~]# yum install ImageMagick
Setting up Install Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
update 100% |=========================| 951 B 00:00
atomic 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Excluding Packages from Atomic Rocket Turtle - 4ES - Atomic PSA-Compatible RPMS
Finished
Parsing package install arguments
Nothing to do

My server says "convert" is here:
/usr/bin/convert
but it says ImageMagick is not installed.

Posted: Tue Jan 23, 2007 2:34 pm
by scott
ImageMagick.i386 6.0.7.1-16 update
ImageMagick-c++.i386 6.0.7.1-16 update
ImageMagick-c++-devel.i386 6.0.7.1-16 update
ImageMagick-devel.i386 6.0.7.1-16 update
ImageMagick-perl.i386 6.0.7.1-16 update

Those are the ones available on my Centos box.

Posted: Tue Jan 23, 2007 2:42 pm
by modom46
I have none of these nor are they at the centos mirror. This is my /etc/yum.conf file...

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... ch&repo=os
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
baseurl=http://mirror.centos.org/centos/4/os/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
protect=1

#released updates
[update]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... po=updates
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
baseurl=http://mirror.centos.org/centos/4/updates/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
protect=1

I just changed to the mirrorlist and now get this:
Installed Packages
ImageMagick.i386 6.0.7.1-16 installed

Ok I see that I put the wrong name for imagemagick but it is installed and can only see that if I use the mirrorlist=http...etc. instead of either of the baseurl=htt;...etc.

I am trying to test the next version of osCommerce and keep this image error but will let them know.

Thanks!