IT lexicon › Infra & Ops › pkg_add

pkg_add

Infra & Ops På svenska → Updated: 2026-11-09

The BSD family's original package tools — retired by FreeBSD in 2014, rewritten and kept by OpenBSD.

pkg_add, pkg_delete and pkg_info were written by Jordan Hubbard for FreeBSD in 1993 and spread across the BSDs. A package was essentially a tarball with a packing list, and dependency handling was thin. FreeBSD eventually replaced them with pkg; NetBSD's variants still underpin pkgsrc.

OpenBSD went its own way. In the early 2000s Marc Espie rewrote the tools from scratch in Perl, adding proper upgrades (pkg_add -u), conflict checking and packages signed with signify. The name is the same as in 1993; very little else is. Together with sysupgrade and syspatch it makes up the entire update story of an OpenBSD system.

← Back to the lexicon