How To Install rubygem-ruby-shadow on Rocky Linux 8
Introduction
In this tutorial we learn how to install rubygem-ruby-shadow
on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
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 Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/e536115771ecca3d7ecefe3405de376a99399a
/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 Rocky Linux 8 using yum and dnf.