Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Hey i want to uninstall some applications shipped with Mac OS that are a part of UNIX.
My plan is to uninstall most of the default stuff to install it via Macports.
That would make upgrading, uninstalling, .. a lot easier.

Anyone an idea how to do this?

share|improve this question
    
Thanks for all answers :). –  Martin Klepsch Sep 20 '09 at 14:08

3 Answers 3

up vote 14 down vote accepted

You absolutely, positively do not want to do this. You may think you do, but you don't.

The system may not need every little piece of software that it ships with, but you have no easy way to figure out which it does need and which it doesn't. In addition, there's simply zero reason to remove Apple's built-in software. Instead, both MacPorts and Fink will automatically place all of their software in a completely distinct, non-Apple directory (/sw for Fink and /opt/local for MacPorts). Upon installation, they adjust your $PATH variable so that when you go the command-line, you automatically find their version of software first rather than Apple's (if there are two versions of the same thing).

You can then easily and cleanly use either Fink or MacPorts (or both) and never touch the Apple stuff. If at a later point, you decide that you want to remove all of Fink or MacPorts, you can easily do that by blowing away the custom directory with a two-second rm -rf. (You can always cleanly uninstall individual packages using Fink or MacPorts's built-in tools.)

Just for completeness, there are two other interesting tools for getting extra *nix software on a Mac: Rudix and Homebrew. Rudix is interesting to me because it's highly modular: you can install any of its applications one at a time as a simple dmg. On the other hand, it offers fewer packages than either MacPorts or Fink. Homebrew is very new and very interesting, but it requires more from the user in terms of initial command-line knowledge. Since it's new, it also has fewer packages than MacPorts or Fink.

share|improve this answer
    
Homebrew looks really nice. Thanks for sharing! –  Martin Klepsch Sep 20 '09 at 14:06

How will you take care of the dependencies and the possible conflicts?

I would suggest that you leave the standard application installed and that you install the specific version you want on top of it.

You should be able to execute your version by making it available in your terminal session keeping the standard version available for the standard OS X installation.

share|improve this answer
1  
Which is what MacPorts and Fink both do by default. For good reason. –  dmckee Sep 20 '09 at 13:19

I agree with Chris. Keep the real OSX bits around in their original place, or you may be sorry later.

UNIX command shells have a handy "PATH" variable that lets you prioritize the order in which certain folders are searched for executable programs. Know it, use it. By setting your PATH correctly, you can have your Macports executables used instead of the OSX executables.

PATH described.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.