macOS
brew install build2local Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für build2 in AI-Agent-Workflows.
Installation
brew install build2local Homebrew formula metadata
sudo dnf install bdepFedora Rawhide package metadata · bdep · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#build2nixpkgs package indexes · pkgs/by-name/bu/build2/package.nix · Quelle: api.github.com
winget install --id build2.build2.MSVC -eWindows Package Manager source index · build2.build2.MSVC · Quelle: cdn.winget.microsoft.com
Überblick
C/C++ Build Toolchain
Verlauf
build2 is a cross-platform, MIT-licensed C/C++ build toolchain made of a build system, package manager, project manager, and supporting libraries.
The build2 project started in the mid-2010s with documentation copyright dating from 2014 and public toolchain tags beginning at 0.1.0. Its stated goal is to approximate Rust Cargo's convenience for C and C++ while keeping enough depth for complex real-world build requirements.
The toolchain is intentionally hierarchical: `b` is the general-purpose build system, `bpkg` handles package consumption, and `bdep` handles project development. The `build2-toolchain` repository is an amalgamation used to build and package those components together.
build2 has remained a specialist C/C++ toolchain rather than a default ecosystem standard like CMake, but its own community page says it is used for real development and cites customer-facing software such as ODB and XSD. The project also maintains cppget.org as its package repository.
It is packaged by Homebrew, Nix, Fedora-style `bdep` packages, and Windows winget according to the input. Upstream development happens in self-hosted git repositories on git.build2.org with GitHub mirrors for collaboration.
Users typically create or initialize projects with `bdep`, build with `b`, and consume dependencies with `bpkg`. The documented configuration surface includes project-local `build/config.build`, `.build2/` state, `.build2/local/`, user-level `~/.build2/`, and system-level `/etc/build2/` locations.
The toolchain is aimed primarily at C/C++ and mixed-language projects involving C or C++, though the project describes a longer-term universal build-toolchain goal.
build2 is significant because it is one of the more complete attempts to give C and C++ a Cargo-like combined build, package, and project-management workflow without hiding the complexity needed by native-code builds.
For package managers, it is also recursive in an interesting way: the build2 toolchain is used for its own development, and the upstream amalgamation repository exists specifically to make source builds and binary packaging of the whole toolchain practical.
Sicherheitslage
generalized runtime or code generation signal.
yellow Risiko · mittel Konfidenz · runtime
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
build/config.build.build2/.build2/local/~/.build2//etc/build2/Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
b | cli | globales Executable | |
bdep | cli | globales Executable | |
bpkg | cli | globales Executable | |
bx | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:build2 |
|---|---|
| Version | 0.18.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/build2 |
| Homepage | https://build2.org |
| Repository | https://git.build2.org/cgit/build2-toolchain |
| Upstream-Dokumentation | https://build2.org/bdep/doc/build2-project-manager-manual.xhtml |
| Lizenz | MIT |
| Quellarchiv | https://download.build2.org/0.18.1/build2-toolchain-0.18.1.tar.xz |
| Zuletzt aktualisiert | 2026-06-27T13:57:07Z |
| Pulse | updated |
| Von macOS bereitgestellte Bibliotheken | curl, openssl |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | build2 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
build2
nix profile install nixpkgs#build2bdep 0.17.0-7.fc44
build2 project dependency manager
sudo dnf install bdepbdep-doc 0.17.0-7.fc44
bdep documentation
sudo dnf install bdep-docbpkg 0.17.0-7.fc44
build2 package dependency manager
sudo dnf install bpkgbpkg-doc 0.17.0-7.fc44
bpkg documentation
sudo dnf install bpkg-docbuild2 0.17.0-7.fc44
Cross-platform build toolchain for developing and packaging C++ code
sudo dnf install build2build2-doc 0.17.0-7.fc44
build2 documentation
sudo dnf install build2-docbuild2-rpm-macros 0.17.0-7.fc44
build2 RPM macros
sudo dnf install build2-rpm-macroslibbpkg 0.17.0-7.fc44
build2 package dependency manager library
sudo dnf install libbpkglibbpkg-devel 0.17.0-7.fc44
Development files for build2 package dependency manager library
sudo dnf install libbpkg-devellibbuild2 0.17.0-7.fc44
build2 library
sudo dnf install libbuild2libbuild2-devel 0.17.0-7.fc44
Development files for build2 library
sudo dnf install libbuild2-devellibbutl 0.17.0-7.fc44
build2 utility library
sudo dnf install libbutllibbutl-devel 0.17.0-7.fc44
Development files for build2 utility library
sudo dnf install libbutl-develbuild2.build2.MSVC
winget install --id build2.build2.MSVC -ebuild2.build2.MinGW
winget install --id build2.build2.MinGW -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.