Page 1 of 1

Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-08T09:37:00-07:00
by cssEXp
The manual didn't make any sense to me at all.

Could someone explain in simple terms, step by step, how to install it? I searched everywhere but was not able to find it. Thanks in advance.

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-08T12:32:18-07:00
by Bonzo
I do not know if any of these instructions are of any use.

http://www.rubblewebs.co.uk/imagemagick ... /linux.php

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-08T22:05:25-07:00
by cssEXp
This is to install into a server not a computer, how do i go about typing commands like 'wget', 'tar', 'make' etc... where do i do it.

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-09T00:56:52-07:00
by Bonzo
It should work on a computer as well and you do it all in terminal.
All I did was download the RPG ? file upack it and ran it on my PC and it installed Ok.
As I say I am no Linux expert but I found later that ImageMagick was on the Fedora installation discs.

You might be able to do something like Yum install Imagemagic-whatever version number and file extension.

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-09T08:09:55-07:00
by cssEXp
the problem is when i login to ssh, it keeps saying things like invalid command, so let me ask this, which program should i use to access ssh on my server?

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-09T13:44:31-07:00
by Bonzo
I have just looked at http://www.imagemagick.org/script/binar ... s.php#unix and I see your version of Linux does not have a RPM file.

I am using Fedora and all I need to do to install is put yum install ImageMagick-6.3.6-10.i386.rpm and its all done for me.

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-09T20:31:23-07:00
by cssEXp
as i said it's for my server and not computer, so which program should i use to access ssh? my computer has windows xp.

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-19T18:17:10-07:00
by anthony
Centos is a RPM basied linux, You can build your own specific RPM for your specific machine from the latest SRPM (source RPM) file.

Follow the directions in. IM examples, API
Building ImageMagick RPMs for linux from SRPMs
http://imagemagick.org/Usage/api/#building

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-23T18:14:44-07:00
by cameron
the ImageMagick-6.3.7-0.src.rpm file come up withe the following errors. Im trying to install imagemagick on my media temple dedicated virtual server which runs CentOS4. what is the problem here? who is christy?






[root@cameronadair ~]# nice rpmbuild --define="_sourcedir $tmp" --define="_specdir $tmp" \
> --define="_rpmdir $tmp" --define="_builddir $tmp" \
> --nodeps --rebuild nice rpmbuild --define="_sourcedir $tmp" --define="_specdir $tmp" \
> --define="_rpmdir $tmp" --define="_builddir $tmp" \
> --nodeps --rebu
--rebu: unknown option
[root@cameronadair ~]# nice rpmbuild --define="_sourcedir $tmp" --define="_specdir $tmp" \
> --define="_rpmdir $tmp" --define="_builddir $tmp" \
> --nodeps --rebuild ImageMagick-6.3.5-10.src.rpm
Installing ImageMagick-6.3.5-10.src.rpm
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.22552
+ umask 022
+ cd /tmp/im_build
+ cd /tmp/im_build
+ rm -rf ImageMagick-6.3.5
+ /usr/bin/bzip2 -dc /tmp/im_build/ImageMagick-6.3.5.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ImageMagick-6.3.5
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.94676
+ umask 022
+ cd /tmp/im_build
+ cd ImageMagick-6.3.5
+ CFLAGS='-O2 -g -pipe -Wall'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall'
+ export FFLAGS
+ ./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --with-modules --with-perl --with-x --with-threads --with-magick_plus_plus '--with-perl-options=INSTALLDIRS=vendor CC='\''gcc -L/tmp/im_build/ImageMagick-6.3.5/magick/.libs'\'' LD='\''/usr/bin/ld -L/tmp/im_build/ImageMagick-6.3.5/magick/.libs'\'''
/var/tmp/rpm-tmp.94676: ./configure: /bin/sh: bad interpreter: Permission denied
error: Bad exit status from /var/tmp/rpm-tmp.94676 (%build)


RPM build errors:
user cristy does not exist - using root
group cristy does not exist - using root
user cristy does not exist - using root
group cristy does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.94676 (%build)






it doesnt create the .rpm file in tmp/im_build/ImageMagick-3.6.7.
where is the rpm file?

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-23T19:28:30-07:00
by cameron
so i took out all the --defines in those instructions and found the i386.rpm file in usr/src/redhat/RPMS/i386, did the
'rpm -ihv --force --nodeps ImageMagick-6.3.7-0.i386.rpm'
command on it and it still doesnt work. i rebooted my server and checked for the thumbnail option in movable type and it still wasn't there which means imagemagick is not installed. has anyone ever installed imagemagick on centos4? whats the deal?

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2007-11-26T05:57:30-07:00
by unvago
If you have Centos 4.2 it is very easy. Use the yum installer in conjunction with the Atomic Rocket Turtle archive. See the atomicrocketturtle.com website for instructions on how to install the gpg key and set up the archive, then just type "yum install imagemagick" at the SSH command prompt. That's all there is to it.

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2008-01-25T12:52:23-07:00
by Ven
unvago wrote:If you have Centos 4.2 it is very easy. Use the yum installer in conjunction with the Atomic Rocket Turtle archive. See the atomicrocketturtle.com website for instructions on how to install the gpg key and set up the archive, then just type "yum install imagemagick" at the SSH command prompt. That's all there is to it.
Do you think "yum install imagemagick" could work under Centos 4.4 ?

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2008-01-28T21:48:25-07:00
by anthony
CentOS is basically Redhat Enterpise which is basied on Fedora.
It will probbaly work except for posible library version problems.

Best idea is to download the IM source RPM and try to build a local set of RPMs to install from that. this is actually what I do for all my IM installations.

See the method I use in
http://imagemagick.org/Usage/api/#building

Installing ImageMagick on vps - CentOS 5

Posted: 2011-09-01T12:48:20-07:00
by petermourra
I dont know if I am placing this in the correct area of this forum. Sorry if I did.

Operating System: CentOS 5

I followed the directions on installing

Download ImageMagick source code ( usually it's a .tar.gz ) to the server's temporary directory ( for example /tmp ). ftp://ftp.imagemagick.org/pub/ImageMagi ... -10.tar.gz
cd /tmp
enter /tmp folder
wget ftp://ftp.imagemagick.org/pub/ImageMagi ... -10.tar.gz
Unpack the archive
tar -xvzf ImageMagick-6.6.8-10.tar.gz
Enter the ImageMagick source code directory
cd ImageMagick-6.6.8-10
install ImageMagick
./configure
make
make install

On this last step, I got this error


make[1]: Entering directory `/tmp/ImageMagick-6.6.8-10'
make[2]: Entering directory `/tmp/ImageMagick-6.6.8-10'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c magick/libMagickCore.la wand/libMagickWand.la Magick++/lib/libMagick++.la '/usr/local/lib'
libtool: install: /usr/bin/install -c magick/.libs/libMagickCore.so.4.0.1 /usr/local/lib/libMagickCore.so.4.0.1
/usr/bin/install: cannot create regular file `/usr/local/lib/libMagickCore.so.4.0.1': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/tmp/ImageMagick-6.6.8-10'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/ImageMagick-6.6.8-10'
make: *** [install] Error 2
aprendem@aprendemedicina.com [/tmp/ImageMagick-6.6.8-10]#

I am a complete novice following step by step instructions. Can anyone help me please

Re: Installing ImageMagick on vps - CentOS 4 - plesk

Posted: 2011-09-01T13:34:49-07:00
by magick
You must type 'sudo make install' to install in your system level folders. Alternatively your can set the installation directory to your home directory on the configure script command line.