How to remove the OSX-GCC-Installer?
Solution 1
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.
Solution 2
Just an update for anyone coming across this now.
If you download Xcode 4.3 or later (in order to install over OSX-GCC to facilitate removal) it is bundled as a single app, so to uninstall, delete the Xcode app rather than using the command mentioned in the accepted answer.
Solution 3
From https://teamtreehouse.com/forum/uninstalling-osxgccinstaller:
sudo /Library/Developer/4.1/uninstall-devtools -mode=all
Marius Butuc
Ruby & Rails aficionado keen on big data, cloud computing, usable web & photography.
Updated on June 04, 2022Comments
-
Marius Butuc almost 2 years
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?
-
nikhil over 11 yearsSo this will uninstall both xcode and the command line tools? After this we need to install xcode again along with the command line tools?
-
Can Kavaklıoğlu almost 11 yearsit was
sudo /Library/Developer/4.1/uninstall-devtools --mode=all
on my system 10.8.4 -
Kara Brightwell about 10 yearsSince XCode 4.3 there is no longer a /Developer folder.