Update a package

Charlie Kester corky1951 at comcast.net
Wed Nov 26 09:00:10 PST 2008

* Lowell Gilbert [2008-11-26 11:17:25 -0500]:

>Sure.  pkg_add(1) has a '-r' option for fetching remotely, and
>portupgrade(1) has a '-P' option to specify using packages (it will
>fetch from FreeBSD servers if possible).

To expand on Lowell's answer, using portupgrade's -P option can avoid a
lengthy compile.

If no suitable package is available for download, portupgrade -P will
fall back to compiling the port from sourcecode.  To avoid this, use

Very handy when dealing with big packages like koffice.  :-)

More information about the freebsd-questions mailing list