Front | Info | Lists | Newsfeeds | Study Guide | What is BSD?
Advertisement: The OpenBSD PF Packet Filter Book: PF for NetBSD, FreeBSD, DragonFly and OpenBSD

BSD Links
·New Links
·User Groups

This is the BSDA Study Guide Book written via a wiki collaboration. This is a work in progress. You may contribute to or discuss this specific page at

Understand the difference between a pre-compiled binary and compiling from source


Be familiar with the default location of both the ports collection and the pkgsrc collection and which BSDs use which type of packages collection. Also be able to recognize the extension used by packages. In addition, be aware of the advantages and disadvantages of installing a precompiled binary and the advantages and disadvantages of compiling a binary from source.


The BSD operating systems provide software build systems for installing third-party add-on software from source code.

Location of ports collection: /usr/ports (FreeBSD, OpenBSD)

Location of pkgsrc collection: /usr/pkg (NetBSD, DragonFly)

Location of packages: /var/db/pkg/ (FreeBSD)

Extension used by packages: TODO (tgz, tbz?)

Installing a precompiled binary or Compiling a binary from source: Precompiled binaries are quick and easy to install but they don't allow for customization of the binary to a system's particular needs. Compiling a binary from source allows for customization, but can take a long time on slower or older systems.


Practice Exercises

More information

Dragonfly and NetBSD provide pkgsrc/pkgtools/pkg_chk, pkgsrc/pkgtools/pkg_comp, make update and make replace; portupgrade, portsnap and cvsup are available as third-party utilities

Front | Information | Lists | Newsfeeds