How to remove the OSX-GCC-Installer?

Marius Butuc picture Marius Butuc · Feb 17, 2012 · Viewed 13.6k times · Source

Just a couple of days ago I discovered and used Kenneth Reitz's OSX-GCC-Installer to solve the issue of installing Ruby 1.9.3 via RVM on my Mac.

Today I read on Kenneth's blog about the Command Line Tools for Xcode package that Apple added to their official developer tools suite just yesterday for Lion users.

I try to keep the number of installed packages to a minimum, so given this alternative, what's the safe way to remove what was added by the OSX-GCC-Installer?

Answer

ern picture ern · Feb 19, 2012

According to the creator of the package, you can install Xcode on top of it since it is just a subset. Then you can use the uninstall command to completely remove:

sudo /Developer/Library/uninstall-devtools --mode=all

Definitely not a quick uninstall, but it should work.