How do I uninstall imagemagick from Mac OS X?

Solution 1:

Please try brew remove imagemagick

Sorry my bad ;) If you manually installed it, goto the root directory where you downloaded the sourcecode and try sudo make uninstall. If you already deleted the install files, redownload the source file and untar it. Then you can cd to the source dir. and use sudo make uninstall to uninstall.

Solution 2:

Homebrew can show you which files in /usr/local aren't under it's control: brew list --unbrewed

This list should be a good start for cleaning up, or if you just want to focus on stuff that may interfere with homebrew: brew list --unbrewed | egrep '^(lib|include)'