source: trunk/www/getdp/index.php @ 23224

Last change on this file since 23224 was 19376, checked in by yeled@…, 14 years ago

add svn:keywords Id

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 6.5 KB
1  <?php
3    include_once("$DOCUMENT_ROOT/includes/");
4    /* include_once("$DOCUMENT_ROOT/includes/"); */
5    print_header('Get DarwinPorts', 'iso-8859-1');
6  ?>
8    <div id="content">
9      <h2 class="hdr">Get DarwinPorts</h2>
11         <p>DarwinPorts version <? print "$dp_version_dmg"; ?> is available in binary form as a
12         dmg disk image <a href="/downloads/DarwinPorts-<? print "$dp_version_dmg"; ?>-10.4.dmg">for Tiger (Universal)</a>
13         or <a href="/downloads/DarwinPorts-<? print "$dp_version_dmg"; ?>-10.3.dmg">Panther</a>,
14         both containing a pkg installer, or version <? print "$dp_version"; ?> in source form as either a
15         <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.tar.bz2">tar.bz2</a> package
16         or a <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.tar.gz">tar.gz</a> one.
17         Checksums for all these are contained <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.chk.txt">here</a>.</p>
19         <p>To get a files listing of all our available downloads checkout the
20         <a href="/downloads/">downloads section</a></p>
22      <p>Please note that in order to install and run DarwinPorts on Mac OS X you must
23        have Apple's Xcode installed, found at the <a href="">Apple Developer site</a>
24        or on your Mac OS X installation CDs/DVD.</p>
26          <p>If you want to use DarwinPorts on a platform other than Mac OS X, please be
27          aware of the following requirements (we assume that you have basics such as
28          gcc):</p>
29          <ul>
30                <li>TCL (8.3 or 8.4)</li>
31                <li>curl</li>
32                <li>OpenSSL or libmd</li>
33          </ul>
35        <h5 class="subhdr">Mac OS X Package (.pkg) Installer</h5>
37        <p>The easiest way to install DarwinPorts on a Mac OS X system is by downloading
38        the <a href="/downloads/DarwinPorts-<? print "$dp_version_dmg"; ?>-10.4.dmg">dmg for Tiger</a>
39        or the <a href="/downloads/DarwinPorts-<? print "$dp_version_dmg"; ?>-10.3.dmg">one for Panther</a>
40        and running on the pkg contained therein by double clicking on them,
41        following the on-screen instructions until completion. This procedure will place a
42        fully functional and default DarwinPorts installation on your host system,
43        ready for usage. If needed, your shell configuration files will be adapted by the installer
44        to include the necessary settings to run DarwinPorts. You may need to open a new shell for
45        these changes to take effect.</p>
47        <p>Although not strictly necessary, it is still recommended that you synchronize your
48        recent installation with our rsync server to ensure you have the latest release
49        available of the DarwinPorts infrastructure and of the &ldquo;Portfiles&rdquo; containing the instructions
50        employed in the building and installation of ports. To accomplish this simply execute:</p>
52        <pre>sudo port -d selfupdate</pre>
54        <p>It is also recommended to run the above command on a regular basis to keep your
55        installation always current. At this point you should be ready to enjoy DarwinPorts!</p>
57        <h5 class="subhdr">Source Installation</h5>
59        <p>If on the other hand you decide to install from source, there are still a couple of
60        things you will need to do once you've downloaded the tarball before you can
61        install a port with the DarwinPorts system, namely compiling and installing DarwinPorts itself.
62        &ldquo;<kbd>cd</kbd>&rdquo; into the directory where you downloaded the package
63        and run &ldquo;<kbd>tar xjvf <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.tar.bz2">DarwinPorts-<? print "$dp_version"; ?>.tar.bz2</a></kbd>&rdquo;
64        or &ldquo;<kbd>tar xzvf <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.tar.gz">DarwinPorts-<? print "$dp_version"; ?>.tar.gz</a></kbd>&rdquo;,
65        depending on whether you downloaded the bz2 tarball or the gz one, respectively.
66        This will unpack the DarwinPorts sources that you will proceed to build and install. To do
67        so, execute the following:</p>
69      <pre>cd DarwinPorts-<? print "$dp_version"; ?>
71./configure &amp;&amp; make &amp;&amp; sudo make install</pre>
73        <p>Optionally:</p>
75<pre>cd ../
76rm -rf DarwinPorts-<? print "$dp_version"; ?>*</pre>
78      <p>These steps need to be perfomed from an administrator account, for which &ldquo;<kbd>sudo</kbd>&rdquo;
79      will ask the password upon installation. This procedure will install a pristine DarwinPorts
80      system and, if the optional steps are taken, remove the as of now unnecessary DarwinPorts-<? print "$dp_version"; ?>
81      directory and corresponding tarball. To customize your installation you should read the output
82      of &ldquo;<kbd>./configure --help | more</kbd>&rdquo; and pass the appropriate options to the
83      configuration script in the steps detailed above.</p>
85        <p>You will need to adapt your shell's configuration files to find the binaries installed by
86        DarwinPorts. Lastly, you need to synchronize your recent installation with OpenDarwin servers:</p>
88        <pre>sudo port -d selfupdate</pre>
90        <p>Upon completion DarwinPorts will be ready to install ports. Again, it is recommended to run
91        the above command on a regular basis to keep your installation current.</p>
93      <p>Alternatively, you can refer to the <tt>README_RELEASE1</tt>
94        file contained in the <? print "$dp_version"; ?> release tarball for basic installation and usage
95        instructions.</p>
97        <h5 class="subhdr">Help</h5>
99      <p><a href="/help/">Help</a> is also available should you need it.</p>
101        <h5 class="subhdr">CVS Sources</h5>
103     <p>If you are developer or a user with a taste for the bleeding edge and wish for the latest changes
104     and feature additions, you may acquire the DarwinPorts sources through CVS.</p>
106      <p>Use the following commands to check the project out of the OpenDarwin anonymous CVS
107        repository:</p>
109      <pre>cvs -d login
110cvs -d co -P darwinports</pre>
112       <p>When the server asks you for a password, simply press
113       <kbd>return</kbd> on your keyboard&mdash;the password is empty.</p>
115        <p>If you do not want to bother with fetching from CVS, you can download
116        a nightly updated <a href="/downloads/darwinports-nightly-cvs-snapshot.tar.gz">
117        CVS-snapshot</a>. Once extracted, you can keep it up to date with the usual
118        &ldquo;<kbd>cvs update</kbd>&rdquo; commands.</p>
120      <p>If you'd simply like to view the CVS repository without checking it
121        out, you can do so via <a
122        href="">CVSweb</a>.</p>
124    </div>
125  </div>
128  print_footer();
Note: See TracBrowser for help on using the repository browser.