rmagick, ImageMagick on Fedora Core 4

I needed to get ImageMagick installed on my VPS. Ran into a couple of showstoppers that I figured would save someone else a load of time.

When installing ImageMagick via yum, I got the following error:

The GPG keys listed for the “Fedora Core 4 - i386 - Base” repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

The Fedora wiki indicates that the package in question has been signed with the wrong key. To fix this edit:

/etc/yum.repos.d/fedora.repo
 
replace the line:  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
 
with this: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY

After making this change the install went fine. However when attempting to install the rmagick gem, I got an error indicating that Magick-config or GraphicMagick-config couldn’t be found. I went ahead and compiled ImageMagick from source, and the gem intstall worked.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*

*