Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
I want to use Gallery in my site but facing some problems installing ImageMagick. A very old version was installed in cPanel and I wanted to upgrade it. I installed the latest version from source, but looks like the older version is still exists, because when I type:
whereis convert
I get:
I see here two paths of binary. Am I wrong? I feel that there is a problem as Gallery doesn't work properly with IM. Some problems happen that they don't happen with the version of Gallery/ImageMagick on my local server.
I am really confused! Should I uninstall ImageMagick first?
***@***.com [~]# which convert
/usr/local/bin/convert
***@***.com [~]# convert -version
Version: ImageMagick 6.6.0-0 2010-02-27 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
***@***.com [~]# /usr/bin/convert -version
/usr/bin/convert: error while loading shared libraries: libMagick-5.5.1.so: cannot open s
hared object file: No such file or directory
***@***.com [~]# /usr/local/bin/convert -version
Version: ImageMagick 6.6.0-0 2010-02-27 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
As I can see, the old version in /usr/bin is still there although some of its files are missing. So how can I completely remove it?
About the system $PATH, I've removed /usr/bin from it. /usr/local/bin is already there.
I'm not a *nix guru, but I think completely removing anything from /usr/bin isn't a good idea, because other software might depend on it. Installing/deinstalling is best done with a package manager, unless you are a guru.
And removing /usr/bin from your $PATH is also weird, for much the same reason.