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?
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
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
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.
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.
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.