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, macOS, Linux, and NetBSD.
Illumos Packages For Server And Desktop
Thanks to its cross-platform support, pkgsrc is
able to combine the efforts of developers from
NetBSD, SmartOS, macOS, Linux, and others, to
produce a single package repository containing
over 19,500 binary packages, providing regularly
updated desktop and server packages to cover a
wide range of requirements. Our package sets
are built on SmartOS, but are designed to be
portable across all illumos distributions, as
the examples below running on Tribblix and
Choose Your Illumos Package Set
Both sets are built on SmartOS 20210826 but should work on any illumos distribution of at least
that date, and are updated from pkgsrc trunk every night. The tools repository is a smaller
package set designed specifically to run in the SmartOS GZ, otherwise use the main 64-bit set.
Older and LTS bootstrap kits are available from the
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.