How to Uninstall xcode Tools?

I installed Gimp, and was looking for X11, and assumed it was in the xcode tools package on the Apple OSX install disc.


So I installed the xcode tools, and got the 'successfully installed' notice. But then found out X11 is not in xcode tools!
.
Eventually I did find and install X11, and Gimp runs fine.

So now I want to uninstall the xcode tools cleanly.

I won't be using them.

I read the instructions in the About xcode tools pdf, and tried the command in Terminal with this result:

apples-mac-mini:~ colin$ % sudo perl/Developer/Tools/uninstall-devtools.pl
-bash: fg: %: no such job
apples-mac-mini:~ colin$ % sudo perl /Developer/Tools/uninstall-devtools.pl
-bash: fg: %: no such job
apples-mac-mini:~ colin$

How do I get rid of the xcode tools cleanly?

Basic Mac mini stand alone desktop, 250GB ext FW, Mac OS X (10.4.5), Dial-up

Posted on Mar 27, 2006 4:45 AM

Reply
10 replies

Mar 27, 2006 4:53 AM in response to AnoMac

Mine ran fine without problems as follows:
sudo /Developer/Tools/uninstall-devtools.pl
You can also re-install XCode tools and try to un-install them again.

NOTE: The uninstaller that ships with previous versions of Xcode Tools or the Developer Tools will not clean everything off of your system properly. You should eitthe one installed when you installed Xcode Tools 2.2.

Mihalis.

Dual G5 @ 2GHz Mac OS X (10.4.5)

Mar 27, 2006 5:14 AM in response to Mihalis Tsoukalos

Thanks Mihalis, I tried that, and was asked for a password. I entered the only pw I use (my admin pw) and it was rejected, even though entered correctly.


apples-mac-mini:~ colin$ sudo /Developer/Tools/uninstall-devtools.pl

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:
Sorry, try again.

I did, with the same result...

Mar 27, 2006 5:03 PM in response to Gulliver

Thanks Gulliver,

I put the Apple disc1 in and clicked on the xcode tools folder, clicked on the 'Utilities' folder and the uninstall-devtools.pl script there opens with TextWrangler, like a text document. How do I get it to run instead of opening?

I tried using the pdf 'About xcode tools' instructions, but got the sudo password catch22 again.


apples-mac-mini:~ colin$ sudo perl /Volumes/Mac\ OS\ X\ Install\ DVD/Xcode\ Tools/Utilities/uninstall-devtools.pl

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:
Sorry, try again.
Password:


How do I get rid of the xcode tools cleanly ?

Anyone help?

Mar 29, 2006 5:03 PM in response to Jeffrey Jones2

Thanks JJ2: That got rid of 3GB of unwanted Developer Tools nicely!

It would be helpful to others if the 'About Dev Tools pdf'
clearly said that to run the command in terminal you should log out as user, and log back in as Apple (admin) before using terminal.

In addition, the text of the pdf has a percentage symbol at the start of the command line, which appears to be a typo, or plain wrong.

To prevent this happening to others; when referencing X11.app, it should be stated exactly how to find it on the DVD. People logically expect it to be in the xcode tools folder.

I eventually found it by inserting the Apple DVD, then typing X11.app into Spotlight.

Carlo: Have you got rid of your xcode tools yet?

If not, do this:

Log out as User (Carlo) and log back in as apple (admin)
Finder>Go>Utilities>Terminal.app

In the small black terminal screen type at the cursor:

sudo /Developer/Tools/uninstall-devtools.pl

and press enter

Give your Apple (admin) password (NB: You don't see the pw as you type), press enter, and that should cause the tools to be removed. It takes about a minute for the script to do the job, so wait for it to confirm.

Enough geekery!
We just want to use the thing.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to Uninstall xcode Tools?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.