pkgsrc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

pkgsrc
Pkgsrc.svg
Developer(s) Alistair Crooks, Hubert Feyrer and Johnny C. Lam[1]
Initial release 1997; 21 years ago (1997)
Stable release
2018Q2 / July 9, 2018; 39 days ago (2018-07-09)
Repository Edit this at Wikidata
Written in C, sh
Operating system Unix-like
Type Package management
License BSD License
Website www.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, later followed by support for other operating systems. DragonFly BSD, from release 1.4 to 3.4, used pkgsrc as its official packaging system.[2] MINIX 3 and the Dracolinux distribution both include pkgsrc in their main releases.[3] SmartOS is another operating system using pkgsrc as the main form of package management.

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 APT or yum.[4]

pkgsrc currently contains over 17000 packages (over 20000 including work-in-progress packages maintained outside the official tree) and includes most popular open source software. It now supports around 23 operating systems, including AIX, various BSD derivatives, HP-UX, IRIX, Linux, macOS, Solaris, and QNX.[5]

Platforms supported by pkgsrc[edit]

Platform Date Support Added
NetBSD August 1997
Solaris March 1999
Linux June 1999
Darwin and macOS October 2001
FreeBSD November 2002
OpenBSD November 2002
IRIX December 2002
BSD/OS December 2003
AIX December 2003
Interix (for Windows NT) March 2004
DragonFlyBSD October 2004
OSF/1 November 2004
HP-UX April 2007
QNX October 2007
Haiku January 2010
MINIX 3 August 2010
MirBSD January 2011
illumos February 2011
Cygwin May 2013
GNU/kFreeBSD July 2013
Bitrig June 2015

References[edit]

External links[edit]