5

I think I accidently did install 2 ImageMagicks to my CentOS 5.8 before.

Version 6.2.8 was removed by

yum erase ImageMagick

However, it still shows this when I typed $convert -version

Version: ImageMagick 6.8.2-9 2013-02-11 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: jng jpeg png ps xml zlib

which convert shows this

/usr/local/bin/convert

This one. I probably installed from the source.
How can I remove this?

11
  • What does 'rpm -qf /usr/local/bin/convert' show?
    – Justin
    Feb 12, 2013 at 3:33
  • @Justin Thanks it showed file /usr/local/bin/convert is not owned by any package
    – HUSTEN
    Feb 12, 2013 at 3:35
  • I might have installed it by wget and make => make install
    – HUSTEN
    Feb 12, 2013 at 3:35
  • Just downloaded the ImageMagick source, and you're lucky! it comes with an uninstall target. just run 'make uninstall' from your build folder and it will remove it. This is not common and is the reason to prefer building/using packages over building from source; .
    – Justin
    Feb 12, 2013 at 3:40
  • @Justin Thanks for reply. what folder shoud I go? cd /usr/local/bin/convert and execute make uninstall?
    – HUSTEN
    Feb 12, 2013 at 3:41

1 Answer 1

11

Run 'make uninstall' from the ImageMagick source folder, it includes an uninstall target.

wget imagemagick.org/download/ImageMagick.tar.gz
tar zxvf ImageMagick.tar.gz
cd ImageMagick-6.8.2-10
./configure
make uninstall

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .