How To Install rubygem-minitest on Rocky Linux 8

In this tutorial we learn how to install rubygem-minitest on Rocky Linux 8. rubygem-minitest is Minitest provides a complete suite of testing facilities

Introduction

In this tutorial we learn how to install rubygem-minitest on Rocky Linux 8.

What is rubygem-minitest

minitest/unit is a small and incredibly fast unit testing framework. minitest/spec is a functionally complete spec engine. minitest/benchmark is an awesome way to assert the performance of your algorithms in a repeatable manner. minitest/mock by Steven Baker, is a beautifully tiny mock object framework. minitest/pride shows pride in testing and adds coloring to your test output.

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

Install rubygem-minitest on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rubygem-minitest using dnf by running the following command:

sudo dnf -y install rubygem-minitest

Install rubygem-minitest on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-minitest using yum by running the following command:

sudo yum -y install rubygem-minitest

How To Uninstall rubygem-minitest on Rocky Linux 8

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

sudo dnf remove rubygem-minitest

rubygem-minitest Package Contents on Rocky Linux 8

/usr/share/gems/gems/minitest-5.10.3
/usr/share/gems/gems/minitest-5.10.3/History.rdoc
/usr/share/gems/gems/minitest-5.10.3/Manifest.txt
/usr/share/gems/gems/minitest-5.10.3/README.rdoc
/usr/share/gems/gems/minitest-5.10.3/Rakefile
/usr/share/gems/gems/minitest-5.10.3/design_rationale.rb
/usr/share/gems/gems/minitest-5.10.3/lib
/usr/share/gems/gems/minitest-5.10.3/lib/hoe
/usr/share/gems/gems/minitest-5.10.3/lib/hoe/minitest.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest
/usr/share/gems/gems/minitest-5.10.3/lib/minitest.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/assertions.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/autorun.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/benchmark.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/expectations.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/hell.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/mock.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/parallel.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/pride.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/pride_plugin.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/spec.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/test.rb
/usr/share/gems/gems/minitest-5.10.3/lib/minitest/unit.rb
/usr/share/gems/gems/minitest-5.10.3/test
/usr/share/gems/gems/minitest-5.10.3/test/minitest
/usr/share/gems/gems/minitest-5.10.3/test/minitest/metametameta.rb
/usr/share/gems/gems/minitest-5.10.3/test/minitest/test_minitest_benchmark.rb
/usr/share/gems/gems/minitest-5.10.3/test/minitest/test_minitest_mock.rb
/usr/share/gems/gems/minitest-5.10.3/test/minitest/test_minitest_reporter.rb
/usr/share/gems/gems/minitest-5.10.3/test/minitest/test_minitest_spec.rb
/usr/share/gems/gems/minitest-5.10.3/test/minitest/test_minitest_test.rb
/usr/share/gems/specifications/minitest-5.10.3.gemspec

References

Summary

In this tutorial we learn how to install rubygem-minitest on Rocky Linux 8 using yum and dnf.