Jump to content

pkgsrc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 193.104.162.7 (talk) at 11:14, 24 October 2016 (Updated to pkgsrc-2016Q3). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

pkgsrc
Developer(s)Alistair Crooks, Hubert Feyrer and Johnny C. Lam[1]
Initial release1997; 27 years ago (1997)
Stable release
2016Q3 / October 3, 2016; 8 years ago (2016-10-03)
Repository
Written inC, sh
Operating systemUnix-like
TypePackage management
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, 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 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, 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. ^ "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. ^ Dillon, Matthew. "PKGSRC will be officially supported as of the next release". DragonFly users mailing list.
  3. ^ "This release features kernel 3.0.57, Glibc 2.11.3, GCC 4.4.7, OSS 4.2 and pkgsrc 2012Q3". DracoLinux.
  4. ^ "pkgin, a binary package manager for pkgsrc".
  5. ^ "Announcing the pkgsrc-2016Q2 Branch".