Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions documentation/content/en/books/handbook/cutting-edge/_index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ This chapter describes how to track the development system and the basic tools f

After reading this chapter, you will know:

* How to keep a FreeBSD system packages up-to-date with with `pkg update` and `pkg upgrade`.
* How to keep a FreeBSD system up-to-date with freebsd-update or Git.
* How to compare the state of an installed system against a known pristine copy.
* How to keep the installed documentation up-to-date with Git or documentation ports.
Expand All @@ -77,6 +78,17 @@ Throughout this chapter, `git` is used to obtain and update FreeBSD sources.
Optionally, the package:devel/git[] port or package may be used.
====

[[pkg-update-upgrade]]
== pkg upgrade

To update local repositories and upgrade packages, run the following commands:

[source,shell]
....
# pkg update
# pkg upgrade
....

[[updating-upgrading-freebsdupdate]]
== FreeBSD Update

Expand Down