Automic VaultAutomic Vault

brew

Installer build2 avec Homebrew, dnf, Nix, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de build2 pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install build2

local Homebrew formula metadata

Linux

Fedora dnfvérifié · 92%
sudo dnf install bdep

Fedora Rawhide package metadata · bdep · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#build2

nixpkgs package indexes · pkgs/by-name/bu/build2/package.nix · Source: api.github.com

Windows

Windows Package Managervérifié · 92%
winget install --id build2.build2.MSVC -e

Windows Package Manager source index · build2.build2.MSVC · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

C/C++ Build Toolchain

Commandes et alias

  • b
  • bdep
  • bpkg
  • bx

historique

Historique du projet et usages

build2 is a cross-platform, MIT-licensed C/C++ build toolchain made of a build system, package manager, project manager, and supporting libraries.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2014: build2 documentation copyright begins, marking the early public project era.
  • 2010s: Public 0.x toolchain tags began with 0.1.0 and evolved through the pre-1.0 series.
  • 2018: The project pointed users to a CppCon 2018 presentation as a toolchain overview.
  • 2020s: The community page described build2 as in the final stage of pre-1.0 development and already used in projects such as ODB and XSD.
  • 2026: The Toolchain Introduction metadata showed version 0.18 and copyright through 2026.

Related projects

  • Cargo is the explicit convenience benchmark named by the build2 homepage.
  • CMake and Autotools are common neighboring C/C++ build-system incumbents, though build2 packages build, dependency, and project management together.
  • cppget.org is the build2 package repository referenced by the project community page.

posture de sécurité

Niveau de risque : yellow

generalized runtime or code generation signal.

Classificateur de risque

risque yellow · confiance moyen · runtime

Pourquoi

  • generalized runtime or code generation signal

Signaux

  • text:build tool

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.

Revue recommandée

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

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
build/config.build.build2/.build2/local/~/.build2//etc/build2/

exécutables

Exécutables installés

CommandeTypeExpositionNote
bcliexécutable global
bdepcliexécutable global
bpkgcliexécutable global
bxcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-08
version du gestionnaire0.18.1
gestionnaire mis à jour2026-06-27
données localesOK
amontnot checked
dernière version détectéenon détecté

https://build2.org

  • infoRelease/tag comparison is only available for GitHub repositories.https://build2.orgconfiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:build2
Version0.18.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/build2
Page d'accueilhttps://build2.org
Dépôthttps://git.build2.org/cgit/build2-toolchain
Docs amonthttps://build2.org/bdep/doc/build2-project-manager-manual.xhtml
LicenceMIT
Archive sourcehttps://download.build2.org/0.18.1/build2-toolchain-0.18.1.tar.xz
Dernière mise à jour2026-06-27T13:57:07Z
Pulseupdated
Bibliothèques fournies par macOScurl, openssl
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebuild2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

build2

nix profile install nixpkgs#build2
  • normalized package name match
  • Correspondance par : Build2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bu/build2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

bdep 0.17.0-7.fc44

build2 project dependency manager

https://build2.org/

sudo dnf install bdep
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: build2
  • 12 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bdep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

bdep-doc 0.17.0-7.fc44

bdep documentation

https://build2.org/

sudo dnf install bdep-doc
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: build2
  • 1 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bdep-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

bpkg 0.17.0-7.fc44

build2 package dependency manager

https://build2.org/

sudo dnf install bpkg
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: build2
  • 25 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bpkg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

bpkg-doc 0.17.0-7.fc44

bpkg documentation

https://build2.org/

sudo dnf install bpkg-doc
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: build2
  • 1 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bpkg-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

build2 0.17.0-7.fc44

Cross-platform build toolchain for developing and packaging C++ code

https://build2.org/

sudo dnf install build2
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: build2
  • 14 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: build2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

build2-doc 0.17.0-7.fc44

build2 documentation

https://build2.org/

sudo dnf install build2-doc
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: build2
  • 1 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: build2-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

build2-rpm-macros 0.17.0-7.fc44

build2 RPM macros

https://build2.org/

sudo dnf install build2-rpm-macros
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: build2
  • 1 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: build2-rpm-macros from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libbpkg 0.17.0-7.fc44

build2 package dependency manager library

https://build2.org/

sudo dnf install libbpkg
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: build2
  • 5 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libbpkg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libbpkg-devel 0.17.0-7.fc44

Development files for build2 package dependency manager library

https://build2.org/

sudo dnf install libbpkg-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: build2
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libbpkg-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libbuild2 0.17.0-7.fc44

build2 library

https://build2.org/

sudo dnf install libbuild2
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: build2
  • 14 Dépendances
  • 10 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libbuild2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libbuild2-devel 0.17.0-7.fc44

Development files for build2 library

https://build2.org/

sudo dnf install libbuild2-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: build2
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libbuild2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libbutl 0.17.0-7.fc44

build2 utility library

https://build2.org/

sudo dnf install libbutl
  • License: MIT AND BSD-2-Clause AND BSD-3-Clause AND ISC AND ISC-Veillard
  • Category: Unspecified
  • Architecture: i686
  • Source Package: build2
  • 9 Dépendances
  • 5 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libbutl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libbutl-devel 0.17.0-7.fc44

Development files for build2 utility library

https://build2.org/

sudo dnf install libbutl-devel
  • License: MIT AND BSD-2-Clause AND BSD-3-Clause AND ISC AND ISC-Veillard
  • Category: Unspecified
  • Architecture: i686
  • Source Package: build2
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Build2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libbutl-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
winget95%

build2.build2.MSVC

winget install --id build2.build2.MSVC -e
  • normalized package name match
  • Correspondance par : Build2
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: build2.build2.MSVC from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

build2.build2.MinGW

winget install --id build2.build2.MinGW -e
  • normalized package name match
  • Correspondance par : Build2
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: build2.build2.MinGW from https://cdn.winget.microsoft.com/cache/source.msix

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment