How To Install rubygem-rack-test on Fedora 36

In this tutorial we learn how to install rubygem-rack-test in Fedora 36. rubygem-rack-test is Simple testing API built on Rack

Introduction

In this tutorial we learn how to install rubygem-rack-test on Fedora 36.

What is rubygem-rack-test

Rack own or as a reusable starting point for Web frameworks and testing libraries to build on. Most of its initial functionality is an extraction of Merb 1.0’s request helpers feature.

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

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

sudo dnf -y install rubygem-rack-test

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

sudo yum -y install rubygem-rack-test

How To Uninstall rubygem-rack-test on Fedora 36

To uninstall only the rubygem-rack-test package we can use the following command:

sudo dnf remove rubygem-rack-test

rubygem-rack-test Package Contents on Fedora 36

/usr/share/gems/gems/rack-test-1.1.0
/usr/share/gems/gems/rack-test-1.1.0/MIT-LICENSE.txt
/usr/share/gems/gems/rack-test-1.1.0/lib
/usr/share/gems/gems/rack-test-1.1.0/lib/rack
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/mock_session.rb
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/test
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/test.rb
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/test/cookie_jar.rb
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/test/methods.rb
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/test/mock_digest_request.rb
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/test/uploaded_file.rb
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/test/utils.rb
/usr/share/gems/gems/rack-test-1.1.0/lib/rack/test/version.rb
/usr/share/gems/specifications/rack-test-1.1.0.gemspec

References

Summary

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