macOS
brew install build2local Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de build2 pour les workflows d'agents IA.
installation
brew install build2local Homebrew formula metadata
sudo dnf install bdepFedora Rawhide package metadata · bdep · Source: dl.fedoraproject.org
nix profile install nixpkgs#build2nixpkgs package indexes · pkgs/by-name/bu/build2/package.nix · Source: api.github.com
winget install --id build2.build2.MSVC -eWindows Package Manager source index · build2.build2.MSVC · Source: cdn.winget.microsoft.com
aperçu
C/C++ Build Toolchain
historique
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.
posture de sécurité
generalized runtime or code generation signal.
risque yellow · confiance moyen · runtime
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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/exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
b | cli | exécutable global | |
bdep | cli | exécutable global | |
bpkg | cli | exécutable global | |
bx | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:build2 |
|---|---|
| Version | 0.18.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/build2 |
| Page d'accueil | https://build2.org |
| Dépôt | https://git.build2.org/cgit/build2-toolchain |
| Docs amont | https://build2.org/bdep/doc/build2-project-manager-manual.xhtml |
| Licence | MIT |
| Archive source | https://download.build2.org/0.18.1/build2-toolchain-0.18.1.tar.xz |
| Dernière mise à jour | 2026-06-27T13:57:07Z |
| Pulse | updated |
| Bibliothèques fournies par macOS | curl, openssl |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.