6.3. GNU-DarwinThe FreeBSD ports and package management system is used by the GNU-Darwin distribution (http://gnu-darwin.sourceforge.net). The ports system provides for packaging an application as a single file that contains precompiled binaries, as well as associated configuration and documentation files. Like dpkg, this system allows the installation of a software package with a single command. This system also maintains an installed package database and understands dependencies. Additionally, to support installing remote packages, a remote ports tree is established. The ports tree resides on your computer and includes makefiles that know how to find, patch, compile, package, and install software packages from source code. Current versions of ported software are stored in one or more ports trees. WARNING: Unlike Fink, GNU-Darwin does not restrict itself to one portion of your filesystem, and it will make changes to system binaries. We suggest that you read the one_stop script carefully before you execute it. To install GNU-Darwin, perform the following steps:
The one_stop installer downloads and installs many packages, so give it some time to complete. WARNING: The one_stop installer requires a considerable amount of bandwidth and does not allow you to choose a subset of packages, so it should not be attempted on a low-bandwidth connection. Again, read the script before you run it. As of this writing, the script states that GNU-Darwin will take up one gigabyte of disk space when one_stop finishes. After you install GNU-Darwin, you can install additional software by downloading precompiled tarballs and using the package management commands listed in Table 6-3. Alternatively, you can install the GNU-Darwin ports system from http://gnu-darwin.sourceforge.net/ports/ and then:
After you install the package with make install, you can manage it with the package management tools shown in Table 6-3. Table 6-3. Using the FreeBSD package management system
Copyright © 2003 O'Reilly & Associates. All rights reserved. |
|