Error when installing ImageMagick-last on Amazon Linux from the Remi Repo
amazon-ec2, imagemagick
Solution
Looks like you may already have a older version installed. Try removing it and then pointing at the newest repo version.
yum remove package ImageMagick
yum --enablerepo=remi install ImageMagick-last
Then reinstall
If that does not work you can download the rpms for each dependency and install them manually. You can get them from rpmfind.net There's the first. Just wget the rpm and then install it.
wget "packageurl"
rpm –ivh "packagename"
If you run into any dependency requirements for X-Window or GTK you'll need to compile from source with the --without-x flag.
FYI - AWS Linux is really just CentOS pointed at Amazons repos with Cloud Init and other goodies pre-installed. So it helps just to search for the CentOS solution
Update ARolek created a gist with instructions for compiling from source.
Update Feb. 2017 Remi doesn't have `ImageMagick-last` anymore. It's now called `ImageMagick7`: `yum --enablerepo=remi install ImageMagick7`
Problem
On my Amazon Linux AMI I'm trying to install ImageMagick-last from the remi repo. I run the command ``` sudo yum install ImageMagick-last.x86_64 ``` but I get the errors ``` --> Finished Dependency Resolution Error: Package: ImageMagick-last-libs-6.8.7.4-1.el6.remi.x86_64 (remi) Requires: libImath.so.6()(64bit) Error: Package: ImageMagick-last-libs-6.8.7.4-1.el6.remi.x86_64 (remi) Requires: libIlmImf.so.6()(64bit) Error: Package: ImageMagick-last-libs-6.8.7.4-1.el6.remi.x86_64 (remi) Requires: librsvg-2.so.2()(64bit) Error: Package: ImageMagick-last-libs-6.8.7.4-1.el6.remi.x86_64 (remi) Requires: libIex.so.6()(64bit) Error: Package: ImageMagick-last-libs-6.8.7.4-1.el6.remi.x86_64 (remi) Requires: libIlmThread.so.6()(64bit) Error: Package: ImageMagick-last-libs-6.8.7.4-1.el6.remi.x86_64 (remi) Requires: libHalf.so.6()(64bit) Error: Package: ImageMagick-last-libs-6.8.7.4-1.el6.remi.x86_64 (remi) Requires: libgdk_pixbuf-2.0.so.0()(64bit) Error: ImageMagick-last conflicts with ImageMagick-6.5.4.7-6.12.amzn1.x86_64 ``` I have searched for solutions, but I can't seem to figure out how to resolve these dependencies. Any help is much appreciated.