How To Install rubygem-minitest-stub-const on Fedora 36

In this tutorial we learn how to install rubygem-minitest-stub-const in Fedora 36. rubygem-minitest-stub-const is Stub constants for the duration of a block in MiniTest

Introduction

In this tutorial we learn how to install rubygem-minitest-stub-const on Fedora 36.

What is rubygem-minitest-stub-const

Stub constants for the duration of a block in MiniTest.

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

Install rubygem-minitest-stub-const 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-minitest-stub-const using dnf by running the following command:

sudo dnf -y install rubygem-minitest-stub-const

Install rubygem-minitest-stub-const 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-minitest-stub-const using yum by running the following command:

sudo yum -y install rubygem-minitest-stub-const

How To Uninstall rubygem-minitest-stub-const on Fedora 36

To uninstall only the rubygem-minitest-stub-const package we can use the following command:

sudo dnf remove rubygem-minitest-stub-const

rubygem-minitest-stub-const Package Contents on Fedora 36

/usr/share/gems/gems/minitest-stub-const-0.6
/usr/share/gems/gems/minitest-stub-const-0.6/LICENSE
/usr/share/gems/gems/minitest-stub-const-0.6/lib
/usr/share/gems/gems/minitest-stub-const-0.6/lib/minitest
/usr/share/gems/gems/minitest-stub-const-0.6/lib/minitest/stub
/usr/share/gems/gems/minitest-stub-const-0.6/lib/minitest/stub/const.rb
/usr/share/gems/gems/minitest-stub-const-0.6/lib/minitest/stub_const.rb
/usr/share/gems/specifications/minitest-stub-const-0.6.gemspec

References

Summary

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