Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
2022-04-08 05:40:12 +00:00
archivers
audio
benchmarks
biology
bootstrap README.macOS: rewrite for typical new users. 2022-04-08 01:21:49 +00:00
cad
chat
comms
converters
cross
databases
devel nss: Regenerate distinfo to follow recent changes 2022-04-07 22:58:23 +00:00
distfiles
doc doc: Updated fonts/noto-emoji-ttf to 2.034nb1 2022-04-07 20:00:05 +00:00
editors emacs: Use emacs28 from editors/emacs28 2022-04-07 10:35:28 +00:00
emulators
filesystems
finance
fonts noto-emoji-ttf: do not install Windows compatibility font 2022-04-07 19:59:55 +00:00
games
geography
graphics tex-circuitikz{,-doc}: update to 1.4.6 2022-04-08 05:21:48 +00:00
ham
inputmethod
lang
licenses
mail
math
mbone
meta-pkgs
misc
mk Make pkglint happy 2022-04-07 12:12:02 +00:00
multimedia
net
news
packages
parallel
pkgtools
print tex-cjkutils{,-doc}: update to 4.8.5 2022-04-08 05:40:12 +00:00
regress
security py-gssapi: updated to 1.7.3 2022-04-07 07:16:20 +00:00
shells
sysutils
templates
textproc py-fastjsonschema: added version 2.15.3 2022-04-07 07:00:29 +00:00
time
wm
www py-ipywidgets: updated to 7.7.0 2022-04-07 10:20:48 +00:00
x11
_NetBSD-pkgdb
Makefile
pkglocate
README.md

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Community / Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git