How To Install rubygem-posix-spawn on Fedora 36

In this tutorial we learn how to install rubygem-posix-spawn in Fedora 36. rubygem-posix-spawn is posix_spawnp(2) for Ruby

Introduction

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

What is rubygem-posix-spawn

posix-spawn uses posix_spawnp(2) for faster process spawning.

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

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

sudo dnf -y install rubygem-posix-spawn

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

sudo yum -y install rubygem-posix-spawn

How To Uninstall rubygem-posix-spawn on Fedora 36

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

sudo dnf remove rubygem-posix-spawn

rubygem-posix-spawn Package Contents on Fedora 36

/usr/bin/posix-spawn-benchmark
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/2d979a89bd0c65e1eb7dbd132d186ef7cffdd7
/usr/lib64/gems/ruby/posix-spawn-0.3.15
/usr/lib64/gems/ruby/posix-spawn-0.3.15/gem.build_complete
/usr/lib64/gems/ruby/posix-spawn-0.3.15/gem_make.out
/usr/lib64/gems/ruby/posix-spawn-0.3.15/posix_spawn_ext.so
/usr/share/gems/gems/posix-spawn-0.3.15
/usr/share/gems/gems/posix-spawn-0.3.15/COPYING
/usr/share/gems/gems/posix-spawn-0.3.15/README.md
/usr/share/gems/gems/posix-spawn-0.3.15/bin
/usr/share/gems/gems/posix-spawn-0.3.15/bin/posix-spawn-benchmark
/usr/share/gems/gems/posix-spawn-0.3.15/lib
/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix
/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix-spawn.rb
/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix/spawn
/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix/spawn.rb
/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix/spawn/child.rb
/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix/spawn/version.rb
/usr/share/gems/specifications/posix-spawn-0.3.15.gemspec

References

Summary

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