Need extra Linux knowledge please
Hi
Scenario: CentOS 4.x server which has ImageMagick installed. The IM version is outdated (6.0.7 if i'm not mistaken) and would like to update it. Usually I install it on clean environment (like no IM installed) and when I install it I do it with RPM.
I downloaded a Fedora Core .rpm from ImageMagick.org but when i try to update the old package, it throws loads of dependency issues. No good cos there's no way i will install all those dependencies.
I tried up2date but the version I have is the latest CentOS has in it's rpm database.
So, I would like to ask, what happens if I install from source the new IM (read, compile myself)? It will overwrite the old files, no rollback possibility that's sure. But should it work this way? Or I'll just create a huge chaos and brake something which isn't broken.
Thanks in advance
pr0gr4mm3r posted this at 14:13 — 14th July 2008.
He has: 1,502 posts
Joined: Sep 2006
Was IM originally installed through the Centos RPM Database?
methode posted this at 14:55 — 14th July 2008.
They have: 17 posts
Joined: Jun 2008
Yup, it was. As it's much easier and issue-less I usually install as much software as possible through RPM
Another possibility would be to build my own RPM with rpmbuild, right? But never did it.
A little update would be that i compiled (but not installed) the new version of IM and no issue was through the process. But then I don't understand why the issues with the Fedora rpms?! As far as I know they are very similar with CentOS, i have to admit tho, I never saw a running Fedora yet.
pr0gr4mm3r posted this at 14:54 — 14th July 2008.
He has: 1,502 posts
Joined: Sep 2006
If you have to compile it from source, I would uninstall the version through the rpm database, and install the one from source.
If it doesn't work, you can uninstall it by running 'make uninstall' and then reinstall the one from the rpm database.
methode posted this at 15:36 — 14th July 2008.
They have: 17 posts
Joined: Jun 2008
Yup, It compiled and I shipped already
So, just for the reference, i did:
rpm -qa | grep -i image
That revealed that I have IM-devel.i386 and its dependency, the 6.0.whatever installed. Removed both with
rpm -e [IM-version-type]
then wget IM source, "untar" (yeah, i know ) it, then
./configure
make
make install
watch the screen.
type /usr/bin/convert (if it says it's not found, try
find / -name convert
and use the path returned) to see if it works, the first line should return the version number.
Thanks very much pr0gr4mm3r for the tips,
greatly appreciated
pr0gr4mm3r posted this at 21:13 — 14th July 2008.
He has: 1,502 posts
Joined: Sep 2006
Happy to help, and thanks for posting the final solution - useful for us and anyone that Googles for it later.
akopayan posted this at 14:25 — 29th July 2008.
They have: 106 posts
Joined: Nov 2006
Thanks for showing us everything you have done.
Was interesting to follow.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.