How To Install jam on Fedora 34

jam is Program construction tool, similar to make

Introduction

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

What is jam

Jam is a program construction tool, like make. Jam recursively builds target files from source files, using dependency information and updating actions expressed in the Jambase file, which is written in jam’s own interpreted language. The default Jambase is compiled into jam and provides a boilerplate for common use, relying on a user-provide file “Jamfile” to enumerate actual targets and sources.

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

Install jam 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 jam using dnf by running the following command:

sudo dnf -y install jam

Install jam 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 jam using yum by running the following command:

sudo yum -y install jam

How To Uninstall jam on Fedora 34

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

sudo dnf remove jam

jam Package Contents on Fedora 34

/usr/bin/jam
/usr/bin/mkjambase
/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/91849556f75c0865697c0d50ced13c134a1d48
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/8f959080340d6e7d29785ed8ed7e6a6c230683
/usr/share/doc/jam
/usr/share/doc/jam/Jam.html
/usr/share/doc/jam/Jambase.html
/usr/share/doc/jam/Jamfile.html
/usr/share/doc/jam/README
/usr/share/doc/jam/RELNOTES

References

Summary

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