pkgsrc logo

Portable Package Management

pkgsrc is a framework for building over 25,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!

MNX Cloud provide binary packages for SmartOS/illumos, macOS, Linux, and NetBSD.


Install Binary Packages

We provide the pkgin binary package manager with our bootstrap kits, making it easy to search for, install, and upgrade binary packages. If you are used to apt-get or yum on Linux it should feel very familiar.

Build From Source

If you prefer you can build packages from source, perhaps to use different package options or CFLAGS. No problem! One simple command automatically downloads, builds, and installs everything required - even dependencies!

Create New Packages

If a package you want isn't available yet, it's easy to create it. Packages are driven by a simple Makefile, tools are available to make creating new packages easy, and there is infrastructure built-in to handle many portability issues.

# pkgin -y upgrade
# pkgin search ffmpeg
ffmpeg4-4.1.1   Decoding, encoding and streaming software (v4.x)
ffmpeg3-3.4.5   Decoding, encoding and streaming software (v3.x)
# pkgin install ffmpeg4
# vi /opt/pkg/etc/mk.conf.local
PKG_OPTIONS.ffmpeg4+=   faac x265
CFLAGS+=                -O3
# cd pkgsrc/multimedia/ffmpeg4
# bmake install
# mkdir misc/foo
# cd misc/foo
# url2pkg http://si.te/foo-1.0.tar.gz
# vi Makefile
# bmake install

SmartOS/Illumos

Our primary platform is SmartOS, but our packages are portable across illumos distributions. They are built nightly from pkgsrc trunk for SmartOS, OmniOS, OpenIndiana, and Tribblix.

macOS

For macOS we offer the latest packages built on Big Sur and Mojave. For those on older releases we have archived package sets built on Sierra, Mavericks, and 32-bit Snow Leopard.

Linux

Our Linux packages are built on CentOS 6 and 7 for distributions based on RedHat Enterprise Linux. They provide a useful companion to the default set of available RPM packages.

NetBSD

We also offer daily builds for the latest NetBSD/amd64 development version. They are provided for developers working on the operating system, and for testing pkgsrc changes.