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