Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

pkg_add

man.openbsd.org

  • Free plan
7.2 Club score Visit man.openbsd.org

Free

Free

Free plan

What the maker publishes

Dependencies
It checks package dependencies and installs packages needed to satisfy them. source
Dependencies
It automatically installs packages needed to satisfy dependencies. source
Dependency resolution
Yes source
Free plan
Yes source
Intended users
OpenBSD's package FAQ advises using packages over building applications from ports in general. source
Interactive choices
On a tty, pkg_add is interactive by default and may ask the user to resolve package ambiguities or difficult decisions. source
Limit
System distribution files such as base and comp sets are not packages and cannot be installed with pkg_add. source
Limits
System distribution files such as base and comp sets are not packages and cannot be installed with pkg_add. source
Offline installation
Yes source
Package availability
A large collection of precompiled packages is available for the most common architectures, but some packages may be unavailable due to architecture or licensing constraints. source
Package coverage
The FAQ says precompiled packages are available for the most common architectures, and some packages may be unavailable because of architecture or licensing constraints. source
Package formats
TGZ,gzip-compressed ustar archives with packing lists source
Package information
OpenBSD-specific information about individual packages is documented under /usr/local/share/doc/pkg-readmes/. source
Package scripts
The manual warns that package files may contain scripts or programs that can expose a system to attacks, and advises using trusted sources. source
Package sources
Package locations can be local directories or FTP, HTTP, HTTPS, and SCP URLs. source
Package sources
Package names can refer to local files or FTP, HTTP, HTTPS, or SCP locations. source
Project
OpenBSD describes itself as a free, multi-platform 4.4BSD-based UNIX-like operating system project developed entirely by volunteers. source
Purpose
pkg_add installs or updates software packages created from the OpenBSD ports tree. source
Purpose
pkg_add installs or updates software packages created from the OpenBSD ports tree. source
Recovery
If a system crash corrupts the package database, the manual points to pkg_check for repair. source
Security
By default, pkg_add rejects unsigned packages unless they come from a trusted source or the unsigned-package override is used. source
Security
By default, it rejects unsigned packages unless they come from a trusted source or unsigned packages are explicitly allowed. source
Signature checks
For signed packages, it checks the signature against a valid signing key and verifies the compressed package data before unpacking it. source
Signature checks
For signed packages, it checks the signature and signing key, and verifies the compressed package data before unpacking. source

Checked against the maker's pages on 12 Oct 2026.