How To Install bmake on Fedora 34

bmake is The NetBSD make(1) tool

Introduction

In this tutorial we learn how to install bmake on Fedora 34.

What is bmake

bmake, the NetBSD make tool, is a program designed to simplify the maintenance of other programs. The input of bmake is a list of specifications indicating the files upon which the targets (programs and other files) depend. bmake then detects which targets are out of date based on their dependencies and triggers the necessary commands to bring them up to date when that happens. bmake is similar to GNU make, even though the syntax for the advanced features supported in Makefiles is very different.

We can use yum or dnf to install bmake on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install bmake.

Install bmake on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install bmake using dnf by running the following command:

sudo dnf -y install bmake

Install bmake on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install bmake using yum by running the following command:

sudo yum -y install bmake

How To Uninstall bmake on Fedora 34

To uninstall only the bmake package we can use the following command:

sudo dnf remove bmake

bmake Package Contents on Fedora 34

/usr/bin/bmake
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/afabd27631961c06b6e4c357b21d53a5fbddd6
/usr/share/doc/bmake
/usr/share/doc/bmake/ChangeLog
/usr/share/doc/bmake/README
/usr/share/licenses/bmake
/usr/share/licenses/bmake/LICENSE
/usr/share/man/man1/bmake.1.gz

References

Summary

In this tutorial we learn how to install bmake on Fedora 34 using yum and dnf.