How To Install rubygem-resolve-hostname on Fedora 36

In this tutorial we learn how to install rubygem-resolve-hostname in Fedora 36. rubygem-resolve-hostname is Hostname resolver with caching

Introduction

In this tutorial we learn how to install rubygem-resolve-hostname on Fedora 36.

What is rubygem-resolve-hostname

With caching, selector for IPv4/IPv6, and many other features.

We can use yum or dnf to install rubygem-resolve-hostname on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-resolve-hostname.

Install rubygem-resolve-hostname 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-resolve-hostname using dnf by running the following command:

sudo dnf -y install rubygem-resolve-hostname

Install rubygem-resolve-hostname 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-resolve-hostname using yum by running the following command:

sudo yum -y install rubygem-resolve-hostname

How To Uninstall rubygem-resolve-hostname on Fedora 36

To uninstall only the rubygem-resolve-hostname package we can use the following command:

sudo dnf remove rubygem-resolve-hostname

rubygem-resolve-hostname Package Contents on Fedora 36

/usr/share/gems/gems/resolve-hostname-0.1.0
/usr/share/gems/gems/resolve-hostname-0.1.0/LICENSE.txt
/usr/share/gems/gems/resolve-hostname-0.1.0/lib
/usr/share/gems/gems/resolve-hostname-0.1.0/lib/resolve
/usr/share/gems/gems/resolve-hostname-0.1.0/lib/resolve/hostname
/usr/share/gems/gems/resolve-hostname-0.1.0/lib/resolve/hostname.rb
/usr/share/gems/gems/resolve-hostname-0.1.0/lib/resolve/hostname/version.rb
/usr/share/gems/specifications/resolve-hostname-0.1.0.gemspec

References

Summary

In this tutorial we learn how to install rubygem-resolve-hostname on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).