Differences
This shows you the differences between two versions of the page.
| pkg_upgrade [2012/07/27 17:45] – created - external edit 127.0.0.1 | pkg_upgrade [2025/07/21 08:03] (current) – removed steve | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== pkg_upgrade ====== | ||
| - | * [[FreeBSD]] | ||
| - | * [[FreeBSD Packages]] | ||
| - | |||
| - | pkg_upgrade is binary package management tool, and it seems to be the simplest way to install and get the proper packages with the latest releases. | ||
| - | |||
| - | First, you must install pkg_upgrade: | ||
| - | |||
| - | < | ||
| - | cd / | ||
| - | make clean install | ||
| - | </ | ||
| - | |||
| - | ==== Howto ==== | ||
| - | |||
| - | Install a binary package with its dependencies: | ||
| - | |||
| - | < | ||
| - | pkg_upgrade -r bash | ||
| - | </ | ||
| - | |||
| - | Update all binary packages: | ||
| - | |||
| - | < | ||
| - | pkg_upgrade -a | ||
| - | </ | ||
| - | |||
| - | Download packages only: | ||
| - | |||
| - | < | ||
| - | pkg_upgrade -F | ||
| - | </ | ||
| - | |||
| - | Pretend to run: | ||
| - | |||
| - | < | ||
| - | pkg_upgrade -n bash | ||
| - | </ | ||
| - | |||
| - | Show what packages would be updated: | ||
| - | |||
| - | < | ||
| - | pkg_upgrade -na | ||
| - | </ | ||