Uninstall

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?".
Post Reply
dclardy

Uninstall

Post 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.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Uninstall

Post 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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply