Navigation:
●
Home
●
Recent changes
●
NetBSD blog
●
Presentations
●
About
●
Developers
●
Gallery
●
Ports
●
Packages
●
Documentation
●
FAQ & HOWTOs
●
The Guide
●
Manual pages
●
Wiki
●
Support
●
Community
●
Mailing lists
●
Bug reports
●
Security
●
Developers
●
CVSWeb
●
Mercurial
●
Cross-reference
●
Release engineering
●
Projects list
About pkgsrcThe NetBSD Packages Collection (pkgsrc) is a framework for building third-party software on NetBSD and other UNIX-like systems, currently containing over 13000 packages. It is used to enable freely available software to be configured and built easily on supported platforms. |
The pkgsrc downloads
|
| Platform | Date Support Added |
|---|---|
| NetBSD | Aug 1997 |
| Solaris | Mar 1999 |
| Linux | Jun 1999 |
| Darwin (Mac OS X) | Oct 2001 |
| FreeBSD | Nov 2002 |
| OpenBSD | Nov 2002 |
| IRIX | Dec 2002 |
| BSD/OS | Dec 2003 |
| AIX | Dec 2003 |
| Interix (Microsoft Windows Services for Unix) | Mar 2004 |
| DragonFlyBSD | Oct 2004 |
| OSF/1 | Nov 2004 |
| HP-UX | Apr 2007 |
| QNX | Oct 2007 |
| Haiku | Sep 2010 |
| MirBSD | Jan 2011 |
/pub/pkgsrc/packages/ (see the pkgsrc guide for more
details). If the tools for managing binary packages do not exist on a
platform or are too old, they are provided along the binary packages in
an archive called bootstrap.tar.gz, which must be
extracted in the / directory. Then you can run
/usr/pkg/sbin/pkg_add to install binary packages.
See the pkgsrc
guide for detailed instructions.
(for using the AnonCVS service, see the Fetching by CVS section in the NetBSD Guide). After downloading and/or extracting the sources, installing the bootstrap kit should be as simple as:#cvs checkout pkgsrc
This will use the defaults of#cd pkgsrc/bootstrap#./bootstrap
/usr/pkg for the
prefix and /var/db/pkg for
the package database directory. However, these can also be set using
command-line parameters (use ./bootstrap --help
to see the available options).
Note that when using pkgsrc on a non-NetBSD system, use the
bmake command instead of “make” to run
NetBSD make, which is required for correct pkgsrc operation. Simply
substitute “bmake” for “make” in pkgsrc
documentation.