How To Install rubygem-rubygems-mirror on Fedora 36
gem mirror
commandIntroduction
In this tutorial we learn how to install rubygem-rubygems-mirror
on Fedora 36.
What is rubygem-rubygems-mirror
This is an update to the old
gem mirror
command. It uses net/http/persistent and threads to grab the mirror set a little faster than the original. Eventually it will replacegem mirror
completely. Right now the API is not completely stable (it will change several times before release), however, I will maintain stability in master.
We can use yum
or dnf
to install rubygem-rubygems-mirror
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-rubygems-mirror.
Install rubygem-rubygems-mirror 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-rubygems-mirror
using dnf
by running the following command:
sudo dnf -y install rubygem-rubygems-mirror
Install rubygem-rubygems-mirror 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-rubygems-mirror
using yum
by running the following command:
sudo yum -y install rubygem-rubygems-mirror
How To Uninstall rubygem-rubygems-mirror on Fedora 36
To uninstall only the rubygem-rubygems-mirror
package we can use the following command:
sudo dnf remove rubygem-rubygems-mirror
rubygem-rubygems-mirror Package Contents on Fedora 36
/usr/share/gems/gems/rubygems-mirror-1.3.0
/usr/share/gems/gems/rubygems-mirror-1.3.0/README.rdoc
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror.rb
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/command.rb
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/fetcher.rb
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/pool.rb
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/test_setup.rb
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/version.rb
/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems_plugin.rb
/usr/share/gems/plugins/rubygems-mirror_plugin.rb
/usr/share/gems/specifications/rubygems-mirror-1.3.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-rubygems-mirror
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).