How To Install rubygem-net-sftp on Fedora 36

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

Introduction

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

What is rubygem-net-sftp

A pure Ruby implementation of the SFTP client protocol.

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

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

sudo dnf -y install rubygem-net-sftp

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

sudo yum -y install rubygem-net-sftp

How To Uninstall rubygem-net-sftp on Fedora 36

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

sudo dnf remove rubygem-net-sftp

rubygem-net-sftp Package Contents on Fedora 36

/usr/share/gems/gems/net-sftp-3.0.0
/usr/share/gems/gems/net-sftp-3.0.0/LICENSE.txt
/usr/share/gems/gems/net-sftp-3.0.0/lib
/usr/share/gems/gems/net-sftp-3.0.0/lib/net
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/constants.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/errors.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/operations
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/operations/dir.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/operations/download.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/operations/file.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/operations/file_factory.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/operations/upload.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/packet.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/01
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/01/attributes.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/01/base.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/01/name.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/02
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/02/base.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/03
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/03/base.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/04
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/04/attributes.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/04/base.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/04/name.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/05
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/05/base.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/06
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/06/attributes.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/06/base.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/protocol/base.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/request.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/response.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/session.rb
/usr/share/gems/gems/net-sftp-3.0.0/lib/net/sftp/version.rb
/usr/share/gems/specifications/net-sftp-3.0.0.gemspec

References

Summary

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