IT lexicon › Infra & Ops › hpkg (Haiku)

hpkg (Haiku)

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

Haiku's package management, in which packages are never unpacked but mounted as they are, together forming the system directory.

On most systems, installing means scattering thousands of files across the tree while a database tries to remember where they went. Haiku, which gained its package system in 2013, makes each .hpkg a compressed, read-only archive that the packagefs filesystem mounts directly. The contents of every active package appear merged under /boot/system. Installing is dropping a file into the packages directory; uninstalling is deleting it.

A side effect is that every previous set of packages survives as a state, and the boot menu lets you pick an older one when an update goes wrong. The command-line tool is pkgman, the store is HaikuDepot and the build recipes live in HaikuPorts.

← Back to the lexicon