Installed ImageMagick from RPM

So, I’m installing ImageMagick from rpm’s on RedHat linux, easy eh?

rpm -i ImageMagick-6.2.8-3.i386
error: Failed dependencies:
libgs.so.8 is needed by ImageMagick-6.2.8-3.i386
libgvc.so.2 is needed by ImageMagick-6.2.8-3.i386
liblcms.so.1 is needed by ImageMagick-6.2.8-3.i386
libpng12.so.0(PNG12_0) is needed by ImageMagick-6.2.8-3.i386

Ah, right. Guess I need those bits then. I thought rpms sorted all that out for themselves. Never mind. Reading TFM it says type the following, that’s teach me and not reading fudge manuals:

rpm -Uvh ImageMagick-6.2.8-3.i386.rpm
error: Failed dependencies:
libgs.so.8 is needed by ImageMagick-6.2.8-3.i386
libgvc.so.2 is needed by ImageMagick-6.2.8-3.i386
liblcms.so.1 is needed by ImageMagick-6.2.8-3.i386
libpng12.so.0(PNG12_0) is needed by ImageMagick-6.2.8-3.i386

Riiiiight, same again. Back to TFM. “If ImageMagick is not available on your system, install it using up2date” *types up2date*. Thinks I need to read another manual… then forgets reason and types…

up2date -i ImageMagick-6.2.8-3.i386.rpm

It’s busy doing something, let’s hope that something is installing ImageMagick.

10 minutes later:

The following packages you requested were not found:
ImageMagick-6.2.8-3.i386.rpm

Righty then. More random guess work.

up2date -i ImageMagick :)

Woah, that actually looks like it’s doing something.

Installing...
1:ImageMagick ########################################### [100%]

Once again, guesswork wins the day.

Technorati Tags: , ,