How To Install rubygem-ruby-shadow on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install rubygem-ruby-shadow on AlmaLinux 8.

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 AlmaLinux 8. 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 AlmaLinux 8 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 AlmaLinux 8 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 AlmaLinux 8

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

sudo dnf remove rubygem-ruby-shadow

References

Summary

In this tutorial we learn how to install rubygem-ruby-shadow on AlmaLinux 8 using yum and dnf.