NetBSD Binary Packages

Setup NetBSD Binary Packages

This is how to setup NetBSD to install programs using binary packages.

Select the proper NetBSD release and architecture. If the version of NetBSD is 5.1.2, the release is 5.1.

NetBSD 5.1 and i386:

PKG_PATH="ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All"

NetBSD 5.1.2 and amd64:

PKG_PATH="ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/5.1/All"

NetBSD 6.0:

PKG_PATH="ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/`uname -m`/`uname -r`/All"
export PATH PKG_PATH