How To Install rubygem-minitest4 on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-minitest4
on Fedora 36.
What is rubygem-minitest4
minitest/unit is a small and fast replacement for ruby’s huge and slow test/unit. This is meant to be clean and easy to use both as a regular test writer and for language implementors that need a minimal set of methods to bootstrap a working unit test suite. miniunit/spec is a functionally complete spec engine. miniunit/mock, by Steven Baker, is a beautifully tiny mock object framework. This is a compatibitity package for minitest version 4.x.y.
We can use yum
or dnf
to install rubygem-minitest4
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-minitest4.
Install rubygem-minitest4 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-minitest4
using dnf
by running the following command:
sudo dnf -y install rubygem-minitest4
Install rubygem-minitest4 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-minitest4
using yum
by running the following command:
sudo yum -y install rubygem-minitest4
How To Uninstall rubygem-minitest4 on Fedora 36
To uninstall only the rubygem-minitest4
package we can use the following command:
sudo dnf remove rubygem-minitest4
rubygem-minitest4 Package Contents on Fedora 36
/usr/share/gems/gems/minitest-4.7.0
/usr/share/gems/gems/minitest-4.7.0/History.txt
/usr/share/gems/gems/minitest-4.7.0/Manifest.txt
/usr/share/gems/gems/minitest-4.7.0/README.txt
/usr/share/gems/gems/minitest-4.7.0/lib
/usr/share/gems/gems/minitest-4.7.0/lib/hoe
/usr/share/gems/gems/minitest-4.7.0/lib/hoe/minitest.rb
/usr/share/gems/gems/minitest-4.7.0/lib/minitest
/usr/share/gems/gems/minitest-4.7.0/lib/minitest/autorun.rb
/usr/share/gems/gems/minitest-4.7.0/lib/minitest/benchmark.rb
/usr/share/gems/gems/minitest-4.7.0/lib/minitest/hell.rb
/usr/share/gems/gems/minitest-4.7.0/lib/minitest/mock.rb
/usr/share/gems/gems/minitest-4.7.0/lib/minitest/parallel_each.rb
/usr/share/gems/gems/minitest-4.7.0/lib/minitest/pride.rb
/usr/share/gems/gems/minitest-4.7.0/lib/minitest/spec.rb
/usr/share/gems/gems/minitest-4.7.0/lib/minitest/unit.rb
/usr/share/gems/specifications/minitest-4.7.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-minitest4
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).