Pkgsrc Explained

pkgsrc
Logo Size:200px
Developer:Alistair Crooks, Hubert Feyrer and Johnny C. Lam[1]
Operating System:Unix-like
Programming Language:C, Unix shell
Genre:Package management system
License:BSD License

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.

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,[2] macOS,[3] Solaris, and QNX.[4]

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 and tools. A high-level utility named 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.[5]

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

Supported platforms

PlatformDate added
NetBSDOctober 1997
SolarisMarch 1999
LinuxJune 1999
Darwin and macOSOctober 2001
FreeBSDNovember 2002
OpenBSDNovember 2002
IRIXDecember 2002
BSD/OSDecember 2003
AIXDecember 2003
Interix (for Windows NT)March 2004
DragonFly BSDOctober 2004
OSF/1November 2004
HP-UXApril 2007
QNXOctober 2007
HaikuJanuary 2010
MINIX 3August 2010
MirBSDJanuary 2011
illumos and SmartOSFebruary 2011
CygwinMay 2013
GNU/kFreeBSDJuly 2013
BitrigJune 2015

History

On October 3, 1997, NetBSD developers Alistair Crooks and Hubert Feyrer created pkgsrc[1] based on the FreeBSD ports system and intended to support the NetBSD packages collection. It was officially released as part of NetBSD 1.3[6] on January 4, 1998. DragonFly BSD used pkgsrc as its official package system from version 1.4 in 2006, to 3.4 in 2013.[7]

On 2017-09-12, a commit message policy that accommodates DVCS was established by the project.

Packages

The NetBSD Foundation provides official, pre-built binary packages for multiple combinations of NetBSD and pkgsrc releases, and occasionally for certain other operating systems as well.[8]

As of 2018, several vendors provide pre-built binary packages for several platforms:

External links

Notes and References

  1. Web site: 10 years of pkgsrc - pkgsrc and the concepts of package management 1997-2007 (part 1). www.netbsd.org. The NetBSD Foundation. 14 October 2010.
  2. Web site: Joyent Packages Documentation - Install On Linux . . 2018-10-10.
  3. Web site: Joyent Packages Documentation - Install On macOS . . 2018-10-10 . 2018-10-06 . https://web.archive.org/web/20181006125302/http://pkgsrc.joyent.com/install-on-osx/ . dead .
  4. Web site: Announcing the pkgsrc-2018Q3 release . Perkin. Jonathan . . 2018-10-05 . 2018-10-10.
  5. Web site: pkgin, a binary package manager for pkgsrc.
  6. Web site: [//www.netbsd.org/releases/formal-1.3/ Information about NetBSD 1.3].
  7. Web site: PKGSRC will be officially supported as of the next release . Matthew . Dillon . DragonFly users mailing list . 2005-08-31.
  8. Web site: Index of pub/PKGSRC/Packages/.
  9. Web site: https://web.archive.org/web/20140715002720/http://pkgsrc.joyent.com/. Joyent's packages, available for SmartOS/illumos, Linux, and OSX. 2014-07-15. 2018-10-11. live.
  10. Web site: Index of /Packages/.
  11. Web site: mirror1.hpc.uwm.edu/pkgsrc/. 2018-10-11.
  12. Web site: Software Management. University of Wisconsin–Milwaukee, High Performance Computing dept. 2018-10-11.
  13. Re: Pkgsrc binary packages now available for scientific computing. pkgsrc-users. NetBSD. 2017-08-01. 2018-10-13.