Updating FreeBSD: Difference between revisions

No edit summary
Line 16: Line 16:
==Ports collection==
==Ports collection==
The installer (/stand/sysinstall) can unpack the ports distribution into /usr/ports. portsnap(8), cvsup(1) and cvs(1) can all be used to both check out the ports collection and keep it up-to-date. CVS is part of the base FreeBSD system, whereas CVSup and portsnap are ports. Of these, portsnap is preferred, due to its superior security.
The installer (/stand/sysinstall) can unpack the ports distribution into /usr/ports. portsnap(8), cvsup(1) and cvs(1) can all be used to both check out the ports collection and keep it up-to-date. CVS is part of the base FreeBSD system, whereas CVSup and portsnap are ports. Of these, portsnap is preferred, due to its superior security.
''UPDATE'': as of at least FreeBSD 9.0, portsnap is part of the base system, and needn't be installed from ports itself. Furthermore, it comes with a sensible default configuration file. Thus,
<code>portsnap fetch extract</code>
is sufficient to update the ports tree on a fresh install.


===Portsnap===
===Portsnap===