pkgsrc

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
pkgsrc
200px
Developer(s) Alistair Crooks, Hubert Feyrer and Johnny C. Lam[1]
Initial release 1997; 27 years ago (1997)
Stable release 2015Q4 / January 1, 2016; 8 years ago (2016-01-01)
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]

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 16000 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, Mac OS X, Solaris, and QNX.[5]

Platforms supported by pkgsrc

Platform Date Support Added
NetBSD August 1997
Solaris March 1999
Linux June 1999
Darwin and Mac OS X 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

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.

External links