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.
These example screenshots show just a small number of the 14,000+ binary
packages available in our 64-bit pkgsrc set. All examples were produced
on a clean install of OS X El Capitan (10.11.4) inside VMware Fusion.
XFCE 4.12 / Gnumeric / Inkscape
GIMP / XChat
Installing and running Jekyll (Ruby 2.3 version)
Choose Your OS X Package Set
Packages for Mac OS X are offered in two different configurations, a 64-bit set
built on Mavericks suitable for users running 10.9 or newer (recommended), and a
32-bit set built on Snow Leopard suitable for users still running legacy OS X
releases on 32-bit hardware. Both sets are built from pkgsrc trunk and are
updated with the latest packages every few days.
64-bit set built on OS X Mavericks (10.9) using clang-600.0.56.
Use this set unless you specifically need packages built for an
older release or do not have 64-bit hardware.
32-bit set built on OS X Snow Leopard (10.6) using GCC 4.2.1.
Use this set only if you are running an OS X release prior to
Mavericks (10.9) or do not have 64-bit hardware.
If you are upgrading from non-HTTPS trunk skip this first section.
If you are upgrading from pkgsrc-2015Q follow the instructions
below, then also perform the trunk HTTPS upgrade in the next section.
If you are currently running a pkgsrc-2015Q1 or earlier release you
will need to follow the full install instructions, as the install
prefix changed from /usr/pkg to /opt/pkg.
To upgrade to an HTTPS trunk install follow the instructions below.
Use these sets to upgrade from a previous pkgsrc-2015Q or trunk 32-bit
install. If you are currently running a pkgsrc-2015Q1 or earlier release
you will need to follow the full install instructions.
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.