How To Install rubygem-ruby-shadow on Fedora 36

In this tutorial we learn how to install rubygem-ruby-shadow in Fedora 36. rubygem-ruby-shadow is Ruby shadow password module

Introduction

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

What is rubygem-ruby-shadow

This module provides access to shadow passwords on Linux and Solaris.

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

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

sudo dnf -y install rubygem-ruby-shadow

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

sudo yum -y install rubygem-ruby-shadow

How To Uninstall rubygem-ruby-shadow on Fedora 36

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

sudo dnf remove rubygem-ruby-shadow

rubygem-ruby-shadow Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/017bd64b12a5e725a4477b3ad7a1a0a35dfbcb
/usr/lib64/gems/ruby/ruby-shadow-2.5.0
/usr/lib64/gems/ruby/ruby-shadow-2.5.0/gem.build_complete
/usr/lib64/gems/ruby/ruby-shadow-2.5.0/shadow.so
/usr/share/gems/gems/ruby-shadow-2.5.0
/usr/share/gems/gems/ruby-shadow-2.5.0/LICENSE
/usr/share/gems/gems/ruby-shadow-2.5.0/ruby-shadow.gemspec
/usr/share/gems/specifications/ruby-shadow-2.5.0.gemspec

References

Summary

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