Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pkg_upgrade [2012/07/27 11:45]
pkg_upgrade [2012/07/27 11:45] (current)
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:​
 +
 +<​code>​
 +cd /​usr/​ports/​sysutils/​bsdadminscripts
 +make clean install
 +</​code>​
 +
 +==== Howto ====
 +
 +Install a binary package with its dependencies:​
 +
 +<​code>​
 +pkg_upgrade -r bash
 +</​code>​
 +
 +Update all binary packages:
 +
 +<​code>​
 +pkg_upgrade -a
 +</​code>​
 +
 +Download packages only:
 +
 +<​code>​
 +pkg_upgrade -F
 +</​code>​
 +
 +Pretend to run:
 +
 +<​code>​
 +pkg_upgrade -n bash
 +</​code>​
 +
 +Show what packages would be updated:
 +
 +<​code>​
 +pkg_upgrade -na
 +</​code>​