Category:

Upgrading ports in FreeBSD

freebsd new logo

This post explains how to download and update ports in the FreeBSD operating system. This process must be performed once after the installation of the system and periodically before installing new packages, in order to install the latest version.

All commands are executed from under the root account.

After installing the system, run once in the console:

portsnap fetch

Extract the packages:

portsnap extract

For future updates:

portsnap fetch

And:

portsnap update

Or the short form (for FreeBSD 9 and later):

portsnap fetch update


Posted: 2014-04-24

Comments