IT lexicon › Infra & Ops › pkgsrc

pkgsrc

Infra & Ops På svenska → Updated: 2026-11-08
More info
Creator
Alistair Crooks, Hubert Feyrer
Released
1997
Type
Package system
License
BSD

NetBSD's framework for building third-party software from source — and arguably the most portable package system in existence.

pkgsrc began in 1997 as an offshoot of FreeBSD's ports tree and keeps the same idea: one directory per program, with a Makefile that fetches the source, applies patches and builds it. The difference is ambition. Ports targets FreeBSD first; pkgsrc was meant to work everywhere from the outset, and today runs on Solaris, illumos, macOS, Linux and AIX, among others.

A stable branch is cut every quarter, giving administrators a predictable cadence. SmartOS used pkgsrc as its de facto package manager, and on macOS it competed for years with MacPorts and Homebrew — with considerably worse marketing. It is NetBSD's most widely exported invention, routinely used by people who have never booted NetBSD.

← Back to the lexicon