How To Install rubygem-sshkey on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-sshkey
on Fedora 36.
What is rubygem-sshkey
Generate private and public SSH keys (RSA and DSA supported) using pure Ruby.
We can use yum
or dnf
to install rubygem-sshkey
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-sshkey.
Install rubygem-sshkey 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-sshkey
using dnf
by running the following command:
sudo dnf -y install rubygem-sshkey
Install rubygem-sshkey 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-sshkey
using yum
by running the following command:
sudo yum -y install rubygem-sshkey
How To Uninstall rubygem-sshkey on Fedora 36
To uninstall only the rubygem-sshkey
package we can use the following command:
sudo dnf remove rubygem-sshkey
rubygem-sshkey Package Contents on Fedora 36
/usr/share/doc/rubygem-sshkey
/usr/share/doc/rubygem-sshkey/LICENSE
/usr/share/gems/gems/sshkey-2.0.0
/usr/share/gems/gems/sshkey-2.0.0/lib
/usr/share/gems/gems/sshkey-2.0.0/lib/sshkey
/usr/share/gems/gems/sshkey-2.0.0/lib/sshkey.rb
/usr/share/gems/gems/sshkey-2.0.0/lib/sshkey/version.rb
/usr/share/gems/specifications/sshkey-2.0.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-sshkey
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).