Pkgsrc

pkgsrc
Developer(s)Alistair Crooks, Hubert Feyrer and Johnny C. Lam[1]
Initial releaseJanuary 4, 1998 (1998-01-04)
Stable release
2025Q1[2] / 31 March 2025 (31 March 2025)
Repository
Written inC, Unix shell
Operating systemUnix-like
TypePackage management system
LicenseBSD License
Websitewww.pkgsrc.org

pkgsrc (package source) is a package management system for Unix-like operating systems. It was forked from the FreeBSD ports collection in 1997 as the primary package management system for NetBSD. Since then it has evolved independently; in 1999, support for Solaris was added, followed by support for other operating systems.[3]

pkgsrc currently contains over 22,000 packages and includes most popular open-source software. It is the native package manager on NetBSD, SmartOS and MINIX 3, and is portable across 23 different operating systems, including AIX, various BSD derivatives, HP-UX, IRIX, Linux,[4] macOS,[5] Solaris, and QNX.[6]

There are multiple ways to install programs using pkgsrc. The pkgsrc bootstrap contains a traditional ports collection that utilizes a series of makefiles to compile software from source. Another method is to install pre-built binary packages via the pkg_add and pkg_delete tools. A high-level utility named pkgin also exists, and is designed to automate the installation, removal, and update of binary packages in a manner similar to Debian's Advanced Packaging Tool.[7]

Several vendors, including MNX.io, provide binary packages for popular operating systems, including macOS and Linux.[5][4]

  1. ^ "10 years of pkgsrc - pkgsrc and the concepts of package management 1997-2007 (part 1)". www.netbsd.org. The NetBSD Foundation. Retrieved 14 October 2010.
  2. ^ Maya Rashish (31 March 2025). "Announcing the pkgsrc-2025Q1 branch". Retrieved 31 March 2025.
  3. ^ Cite error: The named reference informit-2006 was invoked but never defined (see the help page).
  4. ^ a b "Joyent Packages Documentation - Install On Linux". Joyent. Retrieved 2018-10-10.
  5. ^ a b "Joyent Packages Documentation - Install On macOS". Joyent. Archived from the original on 2018-10-06. Retrieved 2018-10-10.
  6. ^ Perkin, Jonathan (2018-10-05). "Announcing the pkgsrc-2018Q3 release". NetBSD. Retrieved 2018-10-10.
  7. ^ "pkgin, a binary package manager for pkgsrc".

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search