The basic pkgsrc tools are provided with every DragonFly system as part of installation. However, you still need to download the pkgsrc tree for building applications with these tools.
+Edit GITHOST in /usr/Makefile or set it as an environment variable to select a different download location, if desired. See mirrors page for available mirriors.
+
This downloads the latest stable version of the pkgsrc tree. As root:
# cd /usr
to update.
-Edit GITHOST in /usr/Makefile to select a different download location, if desired.
-
### Tracking the stable branch
-There are quarterly releases of pkgsrc that are specifically designed for stability. You should in general follow these, rather than the bleeding edge pkgsrc. When a new branch is out you need to set up a local branch tracking that one. 'make pkgsrc-update' will not do this for you.
+There are quarterly releases of pkgsrc that are specifically designed for stability. You should in general follow these, rather than the bleeding edge pkgsrc. When a new branch is out you need to set up a local branch tracking that one. 'make pkgsrc-update' alone will not do this for you.
+
+To set up the latest stable branch:
+
+ # cd /usr
+ # make pkgsrc-update
+ # make pkgsrc-checkout
-To see the available remote branches:
+You can also set it up yourself if you prefer that. To see the available remote branches:
# cd /usr/pkgsrc
# git branch -r