PDA

View Full Version : Uninstall developer tools/xcode




Sogo
Jan 21, 2006, 02:31 AM
Well I would like to get rid of the developer tools that i have installed on my powerbook. The reason being, when i make a new project it gives me this error.

http://img.photobucket.com/albums/v205/so-go/xcodeerror.png

Rather than try to fix it, I have decided to just uninstall it and then reinstall it. or if you can fix this, all the better. But i would much rather get rid of all the dev tools for now.



Soulstorm
Jan 21, 2006, 03:12 AM
From the xCode's readme file (you should have read that first)
Uninstalling Xcode Tools
To uninstall Xcode Tools on your system, type in a Terminal window:
$ sudo perl /Developer/Tools/uninstall-devtools.pl
To uninstall from the CD or disk image that contains Xcode Tools, type in a Terminal window:
$ sudo perl /Volumes/Xcode\ Tools/Utilities/uninstall-devtools.pl
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 either use the one on the Xcode Tools 2.2 DVD, or you should use
the one installed when you installed Xcode Tools 2.2.
NOTE: Running the uninstall script from Xcode Tools will uninstall any previous installations of Mac OS X Developer
Tools or Xcode Tools releases.
NOTE: After running the uninstall script, you should restart your system before installing the Xcode Tools again.

QCassidy352
Apr 11, 2006, 08:26 PM
hi,
I'm looking to get the developer tools off my hard drive, and found this thread. I tried typing
$ sudo perl /Developer/Tools/uninstall-devtools.pl
in the terminal, but here's what I get:
-bash: fg: %: no such job

Any help would be much appreciated!

caveman_uk
Apr 12, 2006, 03:25 AM
hi,
I'm looking to get the developer tools off my hard drive, and found this thread. I tried typing
$ sudo perl /Developer/Tools/uninstall-devtools.pl
in the terminal, but here's what I get:
-bash: fg: %: no such job

Any help would be much appreciated!
Don't type the $

superbovine
Apr 12, 2006, 04:01 AM
Don't type the $

*snicker*

QCassidy352
Apr 12, 2006, 11:15 AM
:o :o :o

thanks! I don't know anything about command line prompts... :o

anyone know why the "Developer" folder isn't gone from my hard drive? It still has applications/utilities/PackageMaker

The rest is gone

mrichmon
Apr 12, 2006, 01:17 PM
anyone know why the "Developer" folder isn't gone from my hard drive? It still has applications/utilities/PackageMaker


This is possibly because the script you were running to delete everything was located in the /Developer folder. While the script was running it needed to continue to exist.

You can safely delete the Developer folder. I've uninstalled Developer Tools using the uninstall script and then deleting the remaining /Developer folder a few times without any problems.

offtheroad
Jul 1, 2009, 04:50 PM
I copied this in the termoinal

sudo perl /Developer/Tools/uninstall-devtools.pl

and got this

Can't open perl script "/Developer/Tools/uninstall-devtools.pl": No such file or directory


jbechdel@comcast.net

jzuena
Jul 1, 2009, 05:21 PM
I copied this in the termoinal

sudo perl /Developer/Tools/uninstall-devtools.pl

and got this

Can't open perl script "/Developer/Tools/uninstall-devtools.pl": No such file or directory


jbechdel@comcast.net

Are you sure you had the developer tools installed to begin with (they are not installed by default). If so, did you install them in a directory other than /Developer? You need to change the command to point to the correct directory that the uninstall-devtools.pl perl script is in.

offtheroad
Jul 2, 2009, 09:28 AM
Are you sure you had the developer tools installed to begin with (they are not installed by default). If so, did you install them in a directory other than /Developer? You need to change the command to point to the correct directory that the uninstall-devtools.pl perl script is in.

I have the folder 'Developer" at root level on my hard drive and I changed the code from
sudo perl /Volumes/Xcode\ Tools/Utilities/uninstall-devtools.pl

to
sudo perl /Volumes/Xcode\ Tools/MAIN HD/uninstall-devtools.pl
and it still won't see it to delete it.
jbechdel@comcast.net

SRossi
Jul 2, 2009, 10:14 AM
I have the folder 'Developer" at root level on my hard drive and I changed the code from
sudo perl /Volumes/Xcode\ Tools/Utilities/uninstall-devtools.pl

to
sudo perl /Volumes/Xcode\ Tools/MAIN HD/uninstall-devtools.pl
and it still won't see it to delete it.
jbechdel@comcast.net

Would it not be -

sudo perl /Volumes/Xcode/Tools/Utilities/uninstall-devtools.pl

Stephen

offtheroad
Jul 2, 2009, 11:26 AM
Would it not be -

sudo perl /Volumes/Xcode/Tools/Utilities/uninstall-devtools.pl

Stephen

Yes I jst seen the reversed \
I corrected it and still get this message
Can't open perl script "/Volumes/Xcode/Tools/Utilities/uninstall-devtools.pl": No such file or directory

jpyc7
Jul 2, 2009, 11:44 AM
I have the folder 'Developer" at root level on my hard drive and I changed the code from
sudo perl /Volumes/Xcode\ Tools/Utilities/uninstall-devtools.pl

to
sudo perl /Volumes/Xcode\ Tools/MAIN HD/uninstall-devtools.pl
and it still won't see it to delete it.
jbechdel@comcast.net

I think you need a backward slash whenever there is a space character, e.g. in "Main HD", you should put in a backward slash. As for the other one between "Xcode" and "Tools", it depends if you have a space or you really have another directory.

offtheroad
Jul 2, 2009, 05:30 PM
I think you need the forward slash whenever there is a space character, e.g. in "Main HD", you should put in a forward slash. As for the other one between "Xcode" and "Tools", it depends if you have a space or you really have another directory.

sudo perl /Developer/Tools/uninstall-devtools.pl

/Developer/Tools/uninstall-devtools.pl
sudo perl /Volumes/Xcode/Tools/MAIN/HD/uninstall-devtools.pl

nuffsed
Jul 4, 2009, 10:25 AM
There seems to be a different way of doing things i version 3.1.3
From the readme

Uninstalling Xcode Developer Tools
To uninstall Xcode developer tools on the boot volume along with the <Xcode>
directory, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=all
If you just want to remove the underlying developer content on the boot volume, but
leave the <Xcode> directory and supporting files untouched, from a Terminal window
type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
If you just want to just remove the UNIX development support on the boot volume, but
leave the <Xcode> directory and supporting files untouched, from a Terminal window
type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
Finally, to just uninstall the <Xcode> directory you can simply drag it to the trash, or
from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
NOTE: The uninstaller that ships with previous versions of the Xcode developer tools
will not clean everything off of your system properly. You should either use the one
provided on the Mac OS X v10.5 Leopard DVD, or you should use the one installed
when you installed the Xcode 3.1.3 developer tools.


the <xcode> part for me had to be replaced by /Developer