Page 1 of 1

Uninstall

Posted: 2009-11-10T10:43:11-07:00
by dclardy
I made a mistake when I installed the software, and I am pretty sure that I ran it twice. Whenever, I run the last part to check the installation.

Code: Select all

/usr/local/bin/convert logo: logo.gif
The install tells me that it can't find the extension. It is looking for the correct extension, but with a .2 at the end. I have tried to do make uninstall, but it throws an error as well. Error 1: It can't find a directory.

Any ideas? I would like to get this install for drupal.

Re: Uninstall

Posted: 2009-11-10T21:19:30-07:00
by anthony
Un install all the packages and then use these commands to clean up anything that may have been missed due to the package confusion...

WARNING I make no gurantees and you should check what will be removed before applying each command.

Code: Select all

  rm -rf /usr/lib/ImageMagick-*
  rm -rf /usr/lib/lib{Magick,Wand}*
  rm -rf /usr/share/ImageMagick-*
  rm -rf /usr/share/doc/ImageMagick-*
  rm -rf /usr/include/{ImageMagick,Magick++,magick,wand}
  rm -rf /usr/lib/perl5/site_perl/*/i386-linux-thread-multi/Image/Magick*
  rm -rf /usr/lib/perl5/site_perl/*/i386-linux-thread-multi/auto/Image/Magick*
  rm -rf /usr/share/man/man?/*Magick*
  rm -f /usr/lib/pkgconfig/ImageMagick.pc
this is in IM examples, building RPMs
http://www.imagemagick.org/Usage/api/#building