Managing the Ports Tree with Portsnap
Updated: 08/09/2006
General Information
The FreeBSD ports tree is the most common method of installing software. With the latest 6.x releases of FreeBSD, the old method of keeping your ports tree updated is now considered obsolete. This guide will teach you how to install and maintain your ports tree using the built-in portsnap utility.Requirements
Installation
Note: If you are running a previous version of FreeBSD, you will have to install portsnap:
| # | pkg_add -r portsnap |
| # | portsnap fetch extract |
Usage
It's a good idea to keep your ports tree up-to-date and this should be done at least once a week. To update the tree, just issue the following command:| # | portsnap fetch update |
Author: Jon LaBass
jon at bsdguides dot org