Contents pkg_add's -u option is used to update a package.
2013-09-18 Live demo in BSD Now Episode 003 | Originally written by TJ for | Last updated: 2014/03/14 NOTE: the author/maintainer of the tutorial(s) is no longer with the show, so the information below may be outdated or incorrect.
Binary packages - some love them, some hate them, some don't know anything else.
" And one member give me the advice to use a script for installation updates, like he has done. Neither system records any additional information that a particular piece of software was installed as a pre-compiled package, or as a port.
Thus, once a piece of software is installed by either approach, the tools have no way of knowing is doing exactly what it should - finding any installed packages that are different from the available pre-compiled packages, and attempting to upgrade them.
Once you've installed your Open BSD system, packages are there to make your life easier.
A works for me/life is good guide for your weekend reading.
I configured the system so it works as my router and firewall, and it works quite well like that. So, as a final step, after upgrading to the latest release, you should execute: # pkg_add -ui Which will (u)pgrade your installed packages asking you any questions (i)nteractive when needed.
In general, packages for a given release are not updated until the next release (Open BSD lacks the developer resources for providing updates to packages on versions other than 'current').
Maybe the other BSDs will adopt it as time goes on, too.
It may sound obvious, but before you start, you will need a binary package repository.
Then again, all the world is not a firewall, and it is likely you will want to use, for example, a web browser (we used to have the venerable . I'll skip a little ahead of myself and make a confession: The machine I'm writing this piece on reports that it has some 381 packages installed.