Can I uninstall xcode 4 after installing the required macports?

Jason Swails jason.swails at
Sat Mar 19 23:16:59 PDT 2011

Keep in mind that "make" is also installed with xcode tools and doesn't
build automatically with any of the gcc compilers built with MacPorts
(assuming you built them to compile software).

If you want to get rid of MacPorts yet still be able to build some of your
own packages with make, you'll either need to install an alternative with
MacPorts or keep XCode around.

Good luck,

On Sat, Mar 19, 2011 at 9:58 PM, Ryan Schmidt <ryandesign at>wrote:

> On Mar 19, 2011, at 23:51, Dontino wrote:
> > if say at a later date I wish to install other ports, can I just
> reinstall
> > xcode and then it would work?
> Yes, I think that should work.
> > I suppose xcode is only needed for installation? Hence am I right that
> > uninstalling a port wouldn't require xcode?
> Yes, Xcode is only needed for the compilers and other build utilities it
> provides, which are generally only used during the configure, build and
> destroot phases. The install and activate phases are merely MacPorts copying
> files around, just as deactivate and uninstall are just MacPorts deleting
> files.
> If you're going to uninstall Xcode, I recommend you use the script Apple
> includes to do that:
> sudo /Developer/Library/uninstall-devtools --mode=all
> That should ensure everything is uninstalled properly, and can be
> unproblematically reinstalled later if desired.
> _______________________________________________
> macports-users mailing list
> macports-users at

Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list