pkgsrc is a framework for building over 17,000 open source software packages. It is the native package manager on SmartOS, NetBSD, and Minix, and is portable across 23 different operating systems. Use one package manager across all of your systems!
Joyent provide binary packages for SmartOS/illumos, Mac OS X, and Linux.
Our goal at Joyent is that our binary packages fulfill all of our users' needs. This isn't always possible, however - users may want packages we do not yet provide, or need to build with different options enabled. We also want users to get involved in package development.
To satisfy those demands, it should instead be reasonably straight-forward for users to build and develop their own packages, and this guide hopefully provides all the information for them to do just that.
Follow the section below for your target OS, then head to the Overview section for a description of pkgbuild.
The pkgbuild repository aims to recreate the same environment that produces the
official Joyent binaries. The
run-sandbox script prepares a chroot
environment with everything set up ready to build packages. It takes a single
argument which is the pkgbuild configuration to use, based on one of the