How To Install rubygem-domain_name on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-domain_name
on Fedora 36.
What is rubygem-domain_name
This is a Domain Name manipulation library for Ruby. It can also be used for cookie domain validation based on the Public Suffix List.
We can use yum
or dnf
to install rubygem-domain_name
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-domain_name.
Install rubygem-domain_name 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-domain_name
using dnf
by running the following command:
sudo dnf -y install rubygem-domain_name
Install rubygem-domain_name 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-domain_name
using yum
by running the following command:
sudo yum -y install rubygem-domain_name
How To Uninstall rubygem-domain_name on Fedora 36
To uninstall only the rubygem-domain_name
package we can use the following command:
sudo dnf remove rubygem-domain_name
rubygem-domain_name Package Contents on Fedora 36
/usr/share/gems/gems/domain_name-0.5.20190701
/usr/share/gems/gems/domain_name-0.5.20190701/CHANGELOG.md
/usr/share/gems/gems/domain_name-0.5.20190701/LICENSE.txt
/usr/share/gems/gems/domain_name-0.5.20190701/README.md
/usr/share/gems/gems/domain_name-0.5.20190701/lib
/usr/share/gems/gems/domain_name-0.5.20190701/lib/domain_name
/usr/share/gems/gems/domain_name-0.5.20190701/lib/domain_name.rb
/usr/share/gems/gems/domain_name-0.5.20190701/lib/domain_name/etld_data.rb
/usr/share/gems/gems/domain_name-0.5.20190701/lib/domain_name/etld_data.rb.erb
/usr/share/gems/gems/domain_name-0.5.20190701/lib/domain_name/punycode.rb
/usr/share/gems/gems/domain_name-0.5.20190701/lib/domain_name/version.rb
/usr/share/gems/specifications/domain_name-0.5.20190701.gemspec
References
Summary
In this tutorial we learn how to install rubygem-domain_name
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).