How To Install rubygem-shoulda on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-shoulda
on Fedora 36.
What is rubygem-shoulda
Making tests easy on the fingers and eyes.
We can use yum
or dnf
to install rubygem-shoulda
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-shoulda.
Install rubygem-shoulda 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-shoulda
using dnf
by running the following command:
sudo dnf -y install rubygem-shoulda
Install rubygem-shoulda 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-shoulda
using yum
by running the following command:
sudo yum -y install rubygem-shoulda
How To Uninstall rubygem-shoulda on Fedora 36
To uninstall only the rubygem-shoulda
package we can use the following command:
sudo dnf remove rubygem-shoulda
rubygem-shoulda Package Contents on Fedora 36
/usr/share/gems/gems/shoulda-3.6.0
/usr/share/gems/gems/shoulda-3.6.0/MIT-LICENSE
/usr/share/gems/gems/shoulda-3.6.0/lib
/usr/share/gems/gems/shoulda-3.6.0/lib/shoulda
/usr/share/gems/gems/shoulda-3.6.0/lib/shoulda.rb
/usr/share/gems/gems/shoulda-3.6.0/lib/shoulda/version.rb
/usr/share/gems/specifications/shoulda-3.6.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-shoulda
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).