macOS
brew install build2local Homebrew formula metadata
brew
build2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install build2local Homebrew formula metadata
sudo dnf install bdepFedora Rawhide package metadata · bdep · ソース: dl.fedoraproject.org
nix profile install nixpkgs#build2nixpkgs package indexes · pkgs/by-name/bu/build2/package.nix · ソース: api.github.com
winget install --id build2.build2.MSVC -eWindows Package Manager source index · build2.build2.MSVC · ソース: cdn.winget.microsoft.com
概要
C/C++ Build Toolchain
履歴
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.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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/実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
b | cli | グローバル実行可能ファイル | |
bdep | cli | グローバル実行可能ファイル | |
bpkg | cli | グローバル実行可能ファイル | |
bx | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:build2 |
|---|---|
| バージョン | 0.18.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/build2 |
| ホームページ | https://build2.org |
| リポジトリ | https://git.build2.org/cgit/build2-toolchain |
| 上流ドキュメント | https://build2.org/bdep/doc/build2-project-manager-manual.xhtml |
| ライセンス | MIT |
| ソースアーカイブ | https://download.build2.org/0.18.1/build2-toolchain-0.18.1.tar.xz |
| 最終更新 | 2026-06-27T13:57:07Z |
| Pulse | updated |
| macOS 提供ライブラリ | curl, openssl |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.