Bsd handbook updating ports

DPorts is Dragon Fly's own third-party software build system. Differences between ports and DPorts are intentionally kept to a minimum, both to maintain familiarity for mutual users of both operating systems and also to leverage the tremendous amount of work the Free BSD contributors put into ports.

Free BSD has since removed their legacy tools so pkg(8) is exclusively used by Free BSD as well.

pkg(8) is not a replacement for port management tools like can install third-party software from both binary packages and DPorts, pkg(8) installs only binary packages.

On the other hand, many people use pkg(8) by itself and never install the optional portupgrade or portmaster tools.

Dragon Fly daily snapshots and Releases (starting with 3.4) come with pkg(8) already installed.

Upgrades from earlier releases, however, will not have it.

If the "pkg" program is missing on the system for any reason, it can be quickly bootstrapped without having to build it from source or even having dports installed: After any installation or reinstallation of the pkg(8) package, you may want to open review the configuration files to customize it, e.g. The pkg(8) program has a configuration file at /usr/local/etc/(the default installation is typically fine and requires no alteration).It uses a a separate location for repository configuration at /usr/local/etc/pkg/repos/ directory.For fresh installations, the file /usr/local/etc/pkg/repos/sample is copied to /usr/local/etc/pkg/repos/df-latest so that pkg(8) works out of the box.The files ending in the ".sample" extension are ignored; pkg(8) only reads files that end in ".conf" and it will read as many as it finds.The default is to use the California-based Avalon, which is also the master.Avalon will have new packages first and they'll be updated as a set.

Tags: , ,