How To Install samurai on Fedora 36

In this tutorial we learn how to install samurai in Fedora 36. samurai is ninja-compatible build tool written in C

Introduction

In this tutorial we learn how to install samurai on Fedora 36.

What is samurai

samurai is a ninja-compatible build tool written in C99 with a focus on simplicity, speed, and portability.

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

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

sudo dnf -y install samurai

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

sudo yum -y install samurai

How To Uninstall samurai on Fedora 36

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

sudo dnf remove samurai

samurai Package Contents on Fedora 36

/usr/bin/samu
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/b937860488fd83a96f656ee6dbd3fd27d0d0be
/usr/share/doc/samurai
/usr/share/doc/samurai/README.md
/usr/share/licenses/samurai
/usr/share/licenses/samurai/LICENSE
/usr/share/man/man1/samu.1.gz

References

Summary

In this tutorial we learn how to install samurai on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).