Chapter 5. Installing Applications: Packages and Ports

Table of Contents
5.1. Synopsis
5.2. Overview of Software Installation
5.3. Finding Software
5.4. Using Binary Packages
5.5. Using pkgng for Binary Package Management
5.6. Using the Ports Collection
5.7. Working With Installed Ports
5.8. Dealing with Broken Ports

5.1. Synopsis

FreeBSD is bundled with a rich collection of system tools as part of the base system. However, there is only so much one can do before needing to install an additional third-party application to get real work done. FreeBSD provides two complementary technologies for installing third-party software: the FreeBSD Ports Collection (for installing from source), and packages (for installing from pre-built binaries). Either method may be used to install software from local media or from the network.

After reading this chapter, you will know how to:

  • Install third-party binary software packages.

  • Build third-party software from source by using the Ports Collection.

  • Remove previously installed packages or ports.

  • Override the default values used by the Ports Collection.

  • Find the appropriate software package.

  • Upgrade installed software.

All FreeBSD documents are available for download at

Questions that are not answered by the documentation may be sent to <>.

Send questions about this document to <>.