Freedom251 › Build Automation Software
build2

What build2 is
build2 is a free, MIT-licensed open-source toolchain for building and packaging C/C++ projects. It combines a general-purpose build system with bpkg, a package dependency manager, and bdep, a project dependency manager. bpkg is mainly used to consume packages; bdep supports project development and uses bpkg to build project packages and their dependencies. The package manager can fetch, unpack and configure packages, and cppget.org is the project’s central registry for open-source packages. Package manifests can specify requirements such as C++ standards, operating systems and compiler families or versions. The build system includes operations for testing, installing, uninstalling and creating source distributions. Its model also supports directed acyclic graph operations beyond C/C++ and compiled languages. It can query installed package versions through system package managers and optionally install dependencies from system repositories. Version 0.18.1 adds a fetch cache and build performance improvements for read-only projects. build2 supports Linux, macOS and Windows; the release announcement also describes FreeBSD package availability through ports and testing on FreeBSD.
Who it suits
build2 suits developers building or packaging C/C++ projects who want an open-source toolchain for both package consumption and project development. Its manifest requirements and system package manager interactions can help teams account for compiler, operating system and dependency needs.
What it does well
- Free and MIT-licensed open-source software.
- Includes a build system, package manager and project manager.
- Package manifests can specify compiler, operating system and C++ standard requirements.
- Provides test, install, uninstall and source-distribution operations.
- Version 0.18.1 adds a package fetch cache.
What to know first
- Functionality is reduced when used without a version control system.
Getting started
- Visit the build2 website.
- Choose an installation route for your system: official Windows or Linux binaries, Homebrew for macOS, or ports for FreeBSD.
- Use the build system, bpkg and bdep for build operations, package consumption and project development.
Verdict
Choose build2 if you want a free toolchain that handles builds, package consumption and project development. It can also model operations beyond compiled C/C++ projects. Keep in mind that it has reduced functionality without a version control system.
Questions
Is build2 free and open source?
Yes. build2 is free, open-source software identified by the project as MIT-licensed.
Which operating systems are supported?
The listed platforms are Linux, macOS and Windows. The 0.18.1 announcement also describes FreeBSD packages through ports and testing on FreeBSD.
What tools are included?
The toolchain includes a general-purpose build system, bpkg for package dependencies and bdep for project development.
Can build2 work without version control?
Yes, but the toolchain introduction says its functionality is reduced without a version control system.
What does version 0.18.1 add?
It adds a fetch cache for package fetching, unpacking and configuration, as well as build performance improvements for read-only projects.
Facts from build2's own pages
- Build performance
- Release 0.18.1 included build-system performance improvements, including optimized builds for read-only projects such as dependencies. · lists.build2.org, 4 Oct 2026
- Compiler support
- The release announcement lists testing with GCC, Clang, MinGW GCC, and MSVC. · lists.build2.org, 4 Oct 2026
- Components
- The toolchain includes a general-purpose build system, a package manager, and a project manager. · github.com, 4 Oct 2026
- Downloads
- The 0.18.1 release provides official binary packages for Windows and several Linux distributions; Mac OS packages are available through Homebrew. · lists.build2.org, 4 Oct 2026
- FreeBSD
- The 0.18.1 announcement says FreeBSD packages are available through ports and reports testing on FreeBSD. · lists.build2.org, 4 Oct 2026
- Integrations
- build2 supports system package manager interactions for Debian, Fedora, and similar distributions, including querying installed package versions and optionally installing dependencies from system repositories. · build2.org, 4 Oct 2026
- Language scope
- The build model is general enough for DAG-based operations and is not limited to C/C++ or compiled languages. · build2.org, 4 Oct 2026
- License
- The project identifies build2 as MIT-licensed open-source software. · github.com, 4 Oct 2026
- Notable limitation
- The toolchain introduction says build2 can work without a version control system, but functionality is reduced. · build2.org, 4 Oct 2026
- Other installation channels
- The release announcement says Mac OS packages are available through Homebrew and FreeBSD packages through ports. · lists.build2.org, 4 Oct 2026
- Package manager
- The package manager can fetch, unpack, and configure packages, and release 0.18.1 introduced a fetch cache. · lists.build2.org, 4 Oct 2026
- Package registry
- The project describes cppget.org as a central repository or registry for open-source packages. · github.com, 4 Oct 2026
- Package requirements
- Package manifests can express requirements such as C++ standards, operating systems, and compiler families or versions. · build2.org, 4 Oct 2026
- Packages
- bpkg is primarily used for package consumption and relies on the build system to build packages. · build2.org, 4 Oct 2026
- Performance
- Version 0.18.1 adds a fetch cache to speed package fetching, unpacking, and configuration, along with build-system performance improvements for read-only projects. · lists.build2.org, 4 Oct 2026
- Product
- build2 is an open-source toolchain for building and packaging C/C++ projects. · github.com, 4 Oct 2026
- Project development
- bdep supports project development and relies on bpkg to build project packages and their dependencies. · build2.org, 4 Oct 2026
- Release
- The latest release described on the maker's announcement page is build2 toolchain 0.18.1, released April 16, 2026. · lists.build2.org, 4 Oct 2026
- Security
- The release announcement publishes SHA256 checksums for source and binary packages and a repository certificate fingerprint for cppget.org. · lists.build2.org, 4 Oct 2026
- Tested systems
- Release 0.18.1 was tested on Windows, Linux, Mac OS, and FreeBSD, including x86_64 and aarch64 on Linux and Mac OS. · lists.build2.org, 4 Oct 2026
- Testing and installation
- The build system manual describes modules that provide test, install, uninstall, and source-distribution operations. · build2.org, 4 Oct 2026
- Toolchain
- The build2 toolchain includes the build system, the bpkg package dependency manager, and the bdep project dependency manager. · build2.org, 4 Oct 2026
- Windows and Linux downloads
- Release 0.18.1 provides official binary packages for Windows and several Linux distributions, including Debian, Ubuntu, Fedora, RHEL, and generic Linux. · lists.build2.org, 4 Oct 2026
Where build2 stands on Freedom251
- Build Automation Software#16 of 42