How To Install build2 on Fedora 36
Introduction
In this tutorial we learn how to install build2
on Fedora 36.
What is build2
build2 is an open source (MIT), cross-platform build toolchain for developing and packaging C++ code. It is a hierarchy of tools that includes the build system, package dependency manager (for package consumption), and project dependency manager (for project development). Key features * Next-generation, Cargo-like integrated build toolchain for C++. * Covers entire project life cycle delivery. * Uniform and consistent interface across all platforms and compilers. * Fast, multi-threaded build system with parallel building and testing. * Archive and version control-based package repositories. * Dependency-free, all you need is a C++ compiler.
We can use yum
or dnf
to install build2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install build2.
Install build2 on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install build2
using dnf
by running the following command:
sudo dnf -y install build2
Install build2 on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install build2
using yum
by running the following command:
sudo yum -y install build2
How To Uninstall build2 on Fedora 36
To uninstall only the build2
package we can use the following command:
sudo dnf remove build2
build2 Package Contents on Fedora 36
/usr/bin/b
/usr/lib/.build-id
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/e1a4fe2a4efdf5e86102cbf59460a08bca58e9
/usr/share/doc/build2
/usr/share/doc/build2/NEWS
/usr/share/doc/build2/README
/usr/share/licenses/build2
/usr/share/licenses/build2/AUTHORS
/usr/share/licenses/build2/LICENSE
/usr/share/man/man1/b.1.gz
References
Summary
In this tutorial we learn how to install build2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).