How To Install spawn on Fedora 36

In this tutorial we learn how to install spawn in Fedora 36. spawn is Simple tool to run several Linux command-lines in parallel

Introduction

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

What is spawn

spawn is a simple parallel execution utility written to appeal to the Unix mindset. spawn reads shell command lines from stdin, one per line, and then executes them as maximum of N child processes in parallel, and waits for all of the children to exit. If a child process fails with a non-zero exit code, no new children are spawned. Then spawn waits for all existing children to exit and returns the failed exit code.

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

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

sudo dnf -y install spawn

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

sudo yum -y install spawn

How To Uninstall spawn on Fedora 36

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

sudo dnf remove spawn

spawn Package Contents on Fedora 36

/usr/bin/spawn
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/d6d459cdfb4191ba27b84787e1436970edb5ec
/usr/share/doc/spawn
/usr/share/doc/spawn/AUTHORS
/usr/share/doc/spawn/COPYING
/usr/share/doc/spawn/README

References

Summary

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