Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

pkgsrc

From Wikipedia, the free encyclopedia
Package manager for Unix-like operating systems
icon
This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources.
Find sources: "Pkgsrc" – news ·newspapers ·books ·scholar ·JSTOR
(April 2024) (Learn how and when to remove this message)
pkgsrc
DevelopersAlistair Crooks, Hubert Feyrer and Johnny C. Lam[1]
Initial releaseJanuary 4, 1998; 28 years ago (1998-01-04)
Stable release
2025Q4[2] / 20 December 2025; 59 days ago (20 December 2025)
Written inC,Unix shell
Operating systemUnix-like
TypePackage management system
LicenseBSD License
Websitewww.pkgsrc.org
Repository

pkgsrc (package source) is apackage management system forUnix-likeoperating systems. It was forked from theFreeBSD ports collection in 1997 as the primary package management system forNetBSD. Since then it has evolved independently; in 1999, support forSolaris was added, followed by support for other operating systems.[3]

As of September 2025[update], pkgsrc currently contains over 29,000 packages[4] and includes most popularopen-source software. It is the native package manager on NetBSD,SmartOS andMINIX 3, and is portable across 23 differentoperating systems, includingAIX, variousBSD derivatives,HP-UX,IRIX,Linux,[5]macOS,[6]Solaris, andQNX.[7]

There are multiple ways to install programs using pkgsrc. The pkgsrcbootstrap contains a traditionalports collection that utilizes a series ofmakefiles to compile software from source. Another method is to install pre-built binary packages via thepkg_add andpkg_delete tools. A high-level utility namedpkgin also exists, and is designed to automate the installation, removal, and update of binary packages in a manner similar toDebian'sAdvanced Packaging Tool.[8]

Several vendors, includingMNX.io, providebinary packages for popular operating systems, includingmacOS andLinux.[6][5]

Supported platforms

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

History

[edit]

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[9] on January 4, 1998.DragonFly BSD used pkgsrc as its official package system from version 1.4 in 2006, to 3.4 in 2013.[10][3]

On 2017-09-12, a commit message policy that accommodatesDVCS was established by the project.[11]

Packages

[edit]

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

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

References

[edit]
  1. ^ab"10 years of pkgsrc - pkgsrc and the concepts of package management 1997-2007 (part 1)".www.netbsd.org. The NetBSD Foundation. Retrieved14 October 2010.
  2. ^Maya Rashish (20 December 2025)."pkgsrc-2025Q4 released". Retrieved21 December 2025.
  3. ^abDavid Chisnall (2006-10-06)."NetBSD: Not Just for Toasters".InformIT.Prentice Hall Professional. Retrieved2019-07-25.
  4. ^Siegert, Benn (25 September 2025)."pkgsrc-2025Q3 released" (Mailing list). Retrieved1 October 2025.
  5. ^abc"Joyent Packages Documentation - Install On Linux".Joyent. Retrieved2018-10-10.
  6. ^abcd"Joyent Packages Documentation - Install On macOS".Joyent. Archived fromthe original on 2018-10-06. Retrieved2018-10-10.
  7. ^Perkin, Jonathan (2018-10-05)."Announcing the pkgsrc-2018Q3 release".NetBSD. Retrieved2018-10-10.
  8. ^"pkgin, a binary package manager for pkgsrc".
  9. ^"Information about NetBSD 1.3".
  10. ^Dillon, Matthew (2005-08-31)."PKGSRC will be officially supported as of the next release". DragonFly users mailing list.
  11. ^Thomas Klausner (2017-09-12)."pkgsrc Commit Message Policy".pkgsrc-users@ (Mailing list).NetBSD. Retrieved2019-05-09.
  12. ^"Index of pub/PKGSRC/Packages/".
  13. ^ab"Joyent's packages, available for SmartOS/illumos, Linux, and OSX".Archived from the original on 2014-07-15. Retrieved2018-10-11.
  14. ^"Index of /Packages/".
  15. ^ab"Re: Pkgsrc binary packages now available for scientific computing".pkgsrc-users (Mailing list).NetBSD. 2017-08-01. Retrieved2018-10-13.
  16. ^"mirror1.hpc.uwm.edu/pkgsrc/". Retrieved2018-10-11.
  17. ^"Software Management".University of Wisconsin–Milwaukee,High Performance Computing dept. Retrieved2018-10-11.

External links

[edit]
TheNetBSD Project
Operating system
Related projects
Notable subsystems
File systems andstorage
Firewalls andnetworking
Gaming console
Unix-like,
Linux
dpkg
Purely functional
RPM
tarball
Other
macOS
z/OS
Mobile
operating
systems
Multi-platform
Solaris,illumos
Web browsers
Windows
BSD
C++
Java
JavaScript
Kubernetes
Linux
macOS
.NET
Perl
PHP
Python
Ruby
Rust
Scala
Retrieved from "https://en.wikipedia.org/w/index.php?title=Pkgsrc&oldid=1314473134"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp