Installing UNIX software on Mac OS X (10.4): Fink and DarwinPorts

From Elvanör's Technical Wiki
Revision as of 09:20, 22 September 2006 by Elvanor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Fink and DarwinPorts are two package managers (similar to Gentoo's Portage or Debian's apt-get), allowing you to install UNIX software on your Mac OS X installation.


DarwinPorts

I find DarwinPorts easier to use than Fink. DarwinPorts repository contains less packages, but some packages in DarwinPorts are not available in Fink. On the whole, important packages (Apache, PHP, vsftpd) are in DarwinPorts.


DarwinPorts installs all software in /opt/local. Binaries install are not possible, everything is compiled from source. Note that when updating your packages, DarwinPorts does not delete the old package but just tags it as "unactive" and deactivates it.

DarwinPorts Usage

Listing installed packages:

# port installed

Listing outdated packages:

# port outdated

Updating all outdated packages (similar to emerge world on Gentoo):

# port upgrade installed

Updating all outdated packages and deleting old packages (not just deactivating them):

# port -u upgrade installed

Useful Links