How To Install rubygem-polyglot on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-polyglot
on Fedora 36.
What is rubygem-polyglot
The Polyglot library allows a Ruby module to register a loader for the file type associated with a filename extension, and it augments ‘require’ to find and load matching files.
We can use yum
or dnf
to install rubygem-polyglot
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-polyglot.
Install rubygem-polyglot 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-polyglot
using dnf
by running the following command:
sudo dnf -y install rubygem-polyglot
Install rubygem-polyglot 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-polyglot
using yum
by running the following command:
sudo yum -y install rubygem-polyglot
How To Uninstall rubygem-polyglot on Fedora 36
To uninstall only the rubygem-polyglot
package we can use the following command:
sudo dnf remove rubygem-polyglot
rubygem-polyglot Package Contents on Fedora 36
/usr/share/gems/gems/polyglot-0.3.5
/usr/share/gems/gems/polyglot-0.3.5/License.txt
/usr/share/gems/gems/polyglot-0.3.5/lib
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot/version.rb
/usr/share/gems/specifications/polyglot-0.3.5.gemspec
References
Summary
In this tutorial we learn how to install rubygem-polyglot
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).