f0bf3af40e
- apache-solr-8.8.2, asterisk13-13.21.1, dolphin-5.0, goreman-0.3.7, gtk4+-4.0 [wip], kipi-plugins-4.14.0, kmix-20.12.3, libkgeomap-4.14.0, libyang-1.0.225, lua-compat53-0.10, lua-curl-0.3.13, lua-rapidjson-0.7.1, lua-rocks-3.7.0, lua-std-normalize-2.0.3, lua-web-sanitize-1.1.0, mantis-2.22.1, moodle-3.10.3, nagios-plugin-dotpid-0.6, p5-CSS-Minifier-XS-0.13, p5-Convert-Binary-C-0.84, p5-Curses-1.37, p5-Data-ObjectDriver-0.21, p5-Data-Peek-0.50, p5-Data-Validate-IP-0.30, p5-Email-Sender-1.300035, p5-File-RsyncP-0.76, p5-LEOCHARRE-Dir-1.09, p5-Locale-Codes-3.67, p5-Log-Agent-1.005, p5-Mail-IMAPClient-3.43, p5-Mail-Message-3.010, p5-Make-2.011, p5-Math-Base85-0.5, p5-Math-FFT-1.36, p5-MetaCPAN-Client-2.029000, p5-Module-ScanDeps-1.30, p5-MooX-File-ConfigDir-0.008, p5-Net-Amazon-S3-0.98, p5-Net-CIDR-0.21, p5-Net-CIDR-Lite-0.22, p5-Net-DNS-SEC-1.18, p5-Net-Daemon-0.49, p5-Net-IPv6Addr-1.02, p5-Net-OpenSSH-0.80, p5-Object-Declare-0.25, p5-Parse-Win32Registry-1.1, p5-Perl-Tidy-20210402, p5-Pod-Strip-1.100, p5-Sub-Exporter-ForMethods-0.100054, p5-Term-Size-0.211, p5-Tie-Cycle-1.226, p5-Tree-DAG_Node-1.32, p5-Tree-Simple-VisitorFactory-0.16, p5-User-Identity-1.00, p5-XString-0.005, php-memcache-4.0.5.2, php-memcache-8.0 [for PHP 8 and later], php-yaml-2.2.2, phppgadmin-7.13.0, qemu-6.2, ruby-delayer-1.2.1, scribus-qt4-1.4.7, smokeping-2.6.11. |
||
---|---|---|
archivers | ||
audio | ||
benchmarks | ||
biology | ||
bootstrap | ||
cad | ||
chat | ||
comms | ||
converters | ||
cross | ||
databases | ||
devel | ||
distfiles | ||
doc | ||
editors | ||
emulators | ||
filesystems | ||
finance | ||
fonts | ||
games | ||
geography | ||
graphics | ||
ham | ||
inputmethod | ||
lang | ||
licenses | ||
math | ||
mbone | ||
meta-pkgs | ||
misc | ||
mk | ||
multimedia | ||
net | ||
news | ||
packages | ||
parallel | ||
pkgtools | ||
regress | ||
security | ||
shells | ||
sysutils | ||
templates | ||
textproc | ||
time | ||
wm | ||
www | ||
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
- Join the community IRC channel #pkgsrc @ libera.chat.
- Join the community Matrix room #pkgsrc:nil.im
- Subscribe to the pkgsrc-users mailing list
- Send bugs and patches via web form (use the
pkg
category).
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
Additional links
- pkgsrc guide - the authoritative document on pkgsrc, also available as
doc/pkgsrc.txt
- pkgsrc in the NetBSD Wiki - miscellaneous articles and tutorials
- pkgsrc.se - a searchable web index of pkgsrc
- pkgsrc-wip - a project to get more people actively involved with creating packages for pkgsrc
- pkgsrc on Twitter - announcements to the world
- pkgsrcCon - we get together
- BulkTracker - a web application that tracks pkgsrc bulk builds