Pkgsrc: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Iamleot
m External links: Switch pkgsrc.se to HTTPS, for consistency with other references and to also avoid an extra redirect
 
imported>Mindmatrix
29,000 packages as of September 2025
 
Line 23: Line 23:
'''pkgsrc''' (''package source'') is a [[package management system]] for [[Unix-like]] [[operating system]]s. 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 (operating system)|Solaris]] was added, followed by support for other operating systems.{{r|informit-2006}}
'''pkgsrc''' (''package source'') is a [[package management system]] for [[Unix-like]] [[operating system]]s. 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 (operating system)|Solaris]] was added, followed by support for other operating systems.{{r|informit-2006}}


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 system]]s, including [[AIX operating system|AIX]], various [[BSD]] derivatives, [[HP-UX]], [[IRIX]], [[Linux]],<ref name=pkgsrc-linux>{{cite web |url=http://pkgsrc.joyent.com/install-on-linux/ |title=Joyent Packages Documentation - Install On Linux |publisher=[[Joyent]] |access-date=2018-10-10}}</ref> [[macOS]],<ref name=pkgsrc-osx>{{cite web |url=http://pkgsrc.joyent.com/install-on-osx/ |title=Joyent Packages Documentation - Install On macOS |publisher=[[Joyent]] |access-date=2018-10-10 |archive-date=2018-10-06 |archive-url=https://web.archive.org/web/20181006125302/http://pkgsrc.joyent.com/install-on-osx/ |url-status=dead }}</ref> [[Solaris (operating system)|Solaris]], and [[QNX]].<ref>{{cite web |url=http://mail-index.netbsd.org/pkgsrc-users/2018/10/05/msg027525.html |title=Announcing the pkgsrc-2018Q3 release |last=Perkin|first=Jonathan |publisher=[[NetBSD]] |date=2018-10-05 |access-date=2018-10-10}}</ref>
{{Asof|September 2025}}, pkgsrc currently contains over 29,000 packages<ref>{{Cite mailing list|url=https://mail-index.netbsd.org/netbsd-announce/2025/09/25/msg000387.html|title=pkgsrc-2025Q3 released|last=Siegert|first=Benn|date=25 September 2025|access-date=1 October 2025}}</ref> 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 system]]s, including [[AIX operating system|AIX]], various [[BSD]] derivatives, [[HP-UX]], [[IRIX]], [[Linux]],<ref name=pkgsrc-linux>{{cite web |url=http://pkgsrc.joyent.com/install-on-linux/ |title=Joyent Packages Documentation - Install On Linux |publisher=[[Joyent]] |access-date=2018-10-10}}</ref> [[macOS]],<ref name=pkgsrc-osx>{{cite web |url=http://pkgsrc.joyent.com/install-on-osx/ |title=Joyent Packages Documentation - Install On macOS |publisher=[[Joyent]] |access-date=2018-10-10 |archive-date=2018-10-06 |archive-url=https://web.archive.org/web/20181006125302/http://pkgsrc.joyent.com/install-on-osx/ |url-status=dead }}</ref> [[Solaris (operating system)|Solaris]], and [[QNX]].<ref>{{cite web |url=http://mail-index.netbsd.org/pkgsrc-users/2018/10/05/msg027525.html |title=Announcing the pkgsrc-2018Q3 release |last=Perkin|first=Jonathan |publisher=[[NetBSD]] |date=2018-10-05 |access-date=2018-10-10}}</ref>


There are multiple ways to install programs using pkgsrc. The pkgsrc [[Bootstrapping|bootstrap]] contains a traditional [[ports collection]] that utilizes a series of [[Make (software)|makefiles]] to compile software from source. Another method is to install pre-built binary packages via the {{mono|pkg_add}} and {{mono|pkg_delete}} tools. A high-level utility named {{mono|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]].<ref>{{cite web|url=http://pkgin.net/|title=pkgin, a binary package manager for pkgsrc}}</ref>
There are multiple ways to install programs using pkgsrc. The pkgsrc [[Bootstrapping|bootstrap]] contains a traditional [[ports collection]] that utilizes a series of [[Make (software)|makefiles]] to compile software from source. Another method is to install pre-built binary packages via the {{mono|pkg_add}} and {{mono|pkg_delete}} tools. A high-level utility named {{mono|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]].<ref>{{cite web|url=http://pkgin.net/|title=pkgin, a binary package manager for pkgsrc}}</ref>
Line 182: Line 182:
[[Category:Software using the BSD license]]
[[Category:Software using the BSD license]]
[[Category:Unix package management-related software]]
[[Category:Unix package management-related software]]
[[Category:Utilities for Linux]]
[[Category:Utility software for Linux]]
[[Category:Utilities for macOS]]
[[Category:Utility software for macOS]]

Latest revision as of 16:09, 1 October 2025

Template:Short descriptionScript error: No such module "Unsubst".

Script error: No such module "Infobox".Template:Template other Script error: No such module "Check for unknown parameters".Script error: No such module "Check for conflicting parameters". 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.Template:R

since September 2025Template:Dated maintenance category (articles)Script error: No such module "Check for unknown parameters"., pkgsrc currently contains over 29,000 packages[1] 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 <templatestyles src="Mono/styles.css" />pkg_add and <templatestyles src="Mono/styles.css" />pkg_delete tools. A high-level utility named <templatestyles src="Mono/styles.css" />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.[5]

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

Supported platforms

Platform Date added
NetBSD October 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
DragonFly BSD October 2004
OSF/1 November 2004
HP-UX April 2007
QNX October 2007
Haiku January 2010
MINIX 3 August 2010
MirBSD January 2011
illumos and SmartOS February 2011
Cygwin May 2013
GNU/kFreeBSD July 2013
Bitrig June 2015

History

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

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

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.[9]

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

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. a b Script error: No such module "citation/CS1".
  3. a b c Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Cite error: Script error: No such module "Namespace detect".Script error: No such module "Namespace detect".
  7. Script error: No such module "citation/CS1".
  8. Script error: No such module "citation/CS1".
  9. Script error: No such module "citation/CS1".
  10. a b Script error: No such module "citation/CS1".
  11. Script error: No such module "citation/CS1".
  12. a b Script error: No such module "citation/CS1".
  13. Script error: No such module "citation/CS1".
  14. Script error: No such module "citation/CS1".

Cite error: <ref> tag with name "informit-2006" defined in <references> is not used in prior text.

Cite error: <ref> tag with name "dvcs" defined in <references> is not used in prior text.

Script error: No such module "Check for unknown parameters".

External links

Script error: No such module "Portal".

Template:NetBSD Template:Package management systems