How can I remove "ImageMagick" completely?
26,358
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
Related videos on Youtube
Author by
HUSTEN
Updated on September 18, 2022Comments
-
HUSTEN over 1 year
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?-
Justin over 11 yearsWhat does 'rpm -qf /usr/local/bin/convert' show?
-
HUSTEN over 11 years@Justin Thanks it showed
file /usr/local/bin/convert is not owned by any package
-
HUSTEN over 11 yearsI might have installed it by wget and make => make install
-
Justin over 11 yearsJust 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; .
-
HUSTEN over 11 years@Justin Thanks for reply. what folder shoud I go? cd /usr/local/bin/convert and execute make uninstall?
-
Justin over 11 yearsWherever you downloaded the source and originally ran './configure && make && make install'. Or just download it again and run './configure && make uninstall'.
-
HUSTEN over 11 years@Justin The problem is that I cannot find where the folder is. and I don't know where I downloaded that file from:(
-
Justin over 11 yearsTry imagemagick.org/download/ImageMagick.tar.gz It's the one from their site that I downloaded. It's 6.8.2.10 instead of 6.8.2-9, but it should do the trick.
-
Justin over 11 yearsyep, 'wget imagemagick.org/download/ImageMagick.tar.gz' 'tar zxvf ImageMagick.tar.gz' 'cd ImageMagick-6.8.2-10' './configure' 'make uninstall'
-
HUSTEN over 11 yearsThanks:) please put that in answer so that I can vote it up
-