How To Install rubygem-pathutil on Fedora 36

In this tutorial we learn how to install rubygem-pathutil in Fedora 36. rubygem-pathutil is Faster pure Ruby implementation of Pathname with extra bits

Introduction

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

What is rubygem-pathutil

Pathutil tries to be a faster pure Ruby implementation of Pathname. It arose out of a need to fix basic problems with Pathname, such as susceptibility to join overrides, need for automatic encoding, and normalization (for stuff like Jekyll) and the ability to do other safe-style operations in an encapsulated format, like copying files and folders with symbolic links but only if they originate from the given root.

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

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

sudo dnf -y install rubygem-pathutil

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

sudo yum -y install rubygem-pathutil

How To Uninstall rubygem-pathutil on Fedora 36

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

sudo dnf remove rubygem-pathutil

rubygem-pathutil Package Contents on Fedora 36

/usr/share/doc/rubygem-pathutil
/usr/share/doc/rubygem-pathutil/README.markdown
/usr/share/gems/gems/pathutil-0.14.0
/usr/share/gems/gems/pathutil-0.14.0/Gemfile
/usr/share/gems/gems/pathutil-0.14.0/lib
/usr/share/gems/gems/pathutil-0.14.0/lib/pathutil
/usr/share/gems/gems/pathutil-0.14.0/lib/pathutil.rb
/usr/share/gems/gems/pathutil-0.14.0/lib/pathutil/helpers.rb
/usr/share/gems/gems/pathutil-0.14.0/lib/pathutil/version.rb
/usr/share/gems/specifications/pathutil-0.14.0.gemspec
/usr/share/licenses/rubygem-pathutil
/usr/share/licenses/rubygem-pathutil/LICENSE

References

Summary

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