pkgsrc is a framework for building over 20,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.
Choose Your Linux Package Set
Packages for Linux are currently built for Enterprise Linux
(i.e. CentOS, Oracle, RedHat, Scientific) versions 6.x and
7.x. Both sets are built in 64-bit from pkgsrc trunk and
are updated with the latest packages every couple of days.
Now that you're ready to go, here are some common commands you may want to run.
Use pkgin to install packages
pkgin is the front-end to the binary packages, and lets you search for, install, upgrade, and remove packages. It also provides some basic functionality for querying both local and remote packages. If you have used apt-get or yum you should find it to be very familiar.
Use pkg_* tools to manage packages
The underlying packaging tools are pkg_add, pkg_admin, pkg_create, pkg_delete, and pkg_info. If pkgin is equivalent to apt-get or yum, then these are the equivalent of dpkg or rpm. Here are some useful commands to get you started.