Chapter 25 Updating and Upgrading FreeBSD

Table of Contents
25.1 Synopsis
25.2 FreeBSD Update
25.3 Portsnap: A Ports Collection Update Tool
25.4 Updating the Documentation Set
25.5 Tracking a Development Branch
25.6 Synchronizing Your Source
25.7 Rebuilding world
25.8 Deleting obsolete files, directories and libraries
25.9 Tracking for Multiple Machines
Restructured, reorganized, and parts updated by Jim Mock. Original work by Jordan Hubbard, Poul-Henning Kamp, John Polstra, and Nik Clayton.

25.1 Synopsis

FreeBSD is under constant development between releases. Some people prefer to use the officially released versions, while others prefer to keep in sync with the latest developments. However, even official releases are often updated with security and other critical fixes. Regardless of the version used, FreeBSD provides all necessary tools to keep your system updated, and also allows for easy upgrades between versions. This chapter will help you decide if you want to track the development system, or stick with one of the released versions. The basic tools for keeping your system up to date are also presented.

After reading this chapter, you will know:

Before reading this chapter, you should:

Note: Throughout this chapter, the cvsup command is used to obtain and update FreeBSD sources. To use it, you will need to install the port or the package for net/cvsup (if you do not want to install the graphical cvsup client, you can just install the port net/cvsup-without-gui). You may wish to substitute this with csup(1), which is part of the base system.