pkgin review
A focused open-source package manager for systems built around pkgsrc.
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
pkgin is an open-source command-line package manager for pkgsrc binary packages. It is designed for pkgsrc-based Unix systems, including NetBSD, DragonFly BSD, Solaris/SunOS, Debian GNU/Linux, Mac OS X, and Minix. The tool installs packages with their associated dependencies, upgrades packages from configured repositories, removes packages and reverse dependencies, and searches repositories or local databases. It fits system administrators and developers who want a focused package workflow on supported Unix-like platforms.
Its strongest area is package lifecycle and local inventory management. pkgin synchronizes repository metadata into a local SQLite database, then exposes package dependencies, contents, descriptions, and build definitions for inspection. It can import and export package lists, cache downloaded packages, clean that cache, and automatically remove orphan dependencies. These capabilities make it useful for maintaining pkgsrc installations while keeping package information and cleanup operations accessible from the command line.
The trade-off is a narrow ecosystem focus. pkgin works with pkgsrc binary packages and published repositories, rather than presenting a broad package-format strategy. The published product details also do not include verified lockfiles, workspaces, private registry authentication, or offline installation. Choose pkgin when pkgsrc compatibility, dependency handling, repository metadata, and local package inspection are the priorities. Choose a broader package manager when reproducible lockfiles, workspace workflows, authenticated private registries, or offline operation are central requirements.
pkgin pros and cons
- Where it wins
- Installs, upgrades, removes, and searches pkgsrc binary packages
- Tracks repository metadata and installed packages in SQLite
- Supports dependency handling, orphan cleanup, caching, and package lists
- Where it doesn't
- Focused on pkgsrc binary packages rather than broad package formats
- Does not provide verified lockfiles or workspace management
- No documented private registry authentication or offline installation
pkgin fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update