Upgrade installed software

Author: name contact BSD flavour

Reviewer: name contact BSD flavour

Reviewer: Chris Silva racerx@makeworld.com FreeBSD


Recognize the built-in and third-party commands which are available for upgrading installed software on BSD systems. In addition, be able to recognize which BSD systems use pkgsrc.

TODO: this concept is redundant; if this is about packages should say "packages" and pkgsrc is introduced earlier?

On DragonFlyBSD and FreeBSD, installed packages can be upgraded to their latest versions by running: pkg upgrade

NetBSD package system, pkgsrc, is used to install or upgrade software.

On OpenBSD, you can use this command to upgrade all installed packages: pkg_add -u Note: The -u switch relies on either the PKG_PATH environment variable to be set or /etc/pkg.conf to be populated with a mirror.



Practice Exercises

More information

Dragonfly and NetBSD provide pkgsrc/pkgtools/pkg_chk, pkgsrc/pkgtools/pkg_comp, make update and make replace; portupgrade, portsnap and cvsup are available as third-party utilities