How To Install rubygem-net-scp on Fedora 36

In this tutorial we learn how to install rubygem-net-scp in Fedora 36. rubygem-net-scp is A pure Ruby implementation of the SCP client protocol

Introduction

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

What is rubygem-net-scp

A pure Ruby implementation of the SCP client protocol

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

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

sudo dnf -y install rubygem-net-scp

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

sudo yum -y install rubygem-net-scp

How To Uninstall rubygem-net-scp on Fedora 36

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

sudo dnf remove rubygem-net-scp

rubygem-net-scp Package Contents on Fedora 36

/usr/share/gems/gems/net-scp-3.0.0
/usr/share/gems/gems/net-scp-3.0.0/LICENSE.txt
/usr/share/gems/gems/net-scp-3.0.0/lib
/usr/share/gems/gems/net-scp-3.0.0/lib/net
/usr/share/gems/gems/net-scp-3.0.0/lib/net/scp
/usr/share/gems/gems/net-scp-3.0.0/lib/net/scp.rb
/usr/share/gems/gems/net-scp-3.0.0/lib/net/scp/download.rb
/usr/share/gems/gems/net-scp-3.0.0/lib/net/scp/errors.rb
/usr/share/gems/gems/net-scp-3.0.0/lib/net/scp/upload.rb
/usr/share/gems/gems/net-scp-3.0.0/lib/net/scp/version.rb
/usr/share/gems/gems/net-scp-3.0.0/lib/uri
/usr/share/gems/gems/net-scp-3.0.0/lib/uri/open-scp.rb
/usr/share/gems/gems/net-scp-3.0.0/lib/uri/scp.rb
/usr/share/gems/specifications/net-scp-3.0.0.gemspec

References

Summary

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