Skip to main content

OpenBSD Package Path

Published: May 13, 2011

Add this to your ~/.profile (or something a lot like it)

export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/sparc/

It makes upgrading and installing packages a breeze - once you log in, the package path is setup automatically based on the release you're running. The next time you use pkg_add, there'll be no thinking involved and that's a good thing!