NetBSD / pkgsrc

Automatic conversion of the NetBSD pkgsrc CVS module, use with care

Home Page:https://www.pkgsrc.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Additional links

About

Automatic conversion of the NetBSD pkgsrc CVS module, use with care

https://www.pkgsrc.org


Languages

Language:Makefile 46.0%Language:C 34.1%Language:C++ 5.0%Language:Shell 4.2%Language:Roff 3.3%Language:Python 1.2%Language:OCaml 1.1%Language:Perl 1.0%Language:CMake 0.5%Language:Awk 0.4%Language:M4 0.4%Language:Emacs Lisp 0.4%Language:Java 0.4%Language:Haskell 0.3%Language:Ruby 0.2%Language:PHP 0.2%Language:Ada 0.1%Language:Rust 0.1%Language:Go 0.1%Language:Assembly 0.1%Language:R 0.1%Language:QMake 0.1%Language:Yacc 0.1%Language:JavaScript 0.1%Language:Objective-C 0.0%Language:XS 0.0%Language:Fortran 0.0%Language:HTML 0.0%Language:Cython 0.0%Language:Starlark 0.0%Language:Tcl 0.0%Language:LLVM 0.0%Language:Lua 0.0%Language:BitBake 0.0%Language:Raku 0.0%Language:Scheme 0.0%Language:Lex 0.0%Language:Vala 0.0%Language:sed 0.0%Language:Gnuplot 0.0%Language:Forth 0.0%Language:D 0.0%Language:Common Lisp 0.0%Language:Logos 0.0%Language:C# 0.0%Language:Objective-C++ 0.0%Language:Hack 0.0%Language:TeX 0.0%Language:Prolog 0.0%Language:M 0.0%Language:MATLAB 0.0%Language:Stata 0.0%Language:CSS 0.0%Language:XSLT 0.0%Language:LilyPond 0.0%Language:SWIG 0.0%Language:Erlang 0.0%Language:NASL 0.0%Language:HolyC 0.0%Language:CWeb 0.0%Language:Pawn 0.0%Language:Ren'Py 0.0%Language:PLpgSQL 0.0%Language:Clojure 0.0%Language:EmberScript 0.0%Language:POV-Ray SDL 0.0%Language:AngelScript 0.0%