How To Install perl-Net-SSH on Fedora 36

In this tutorial we learn how to install perl-Net-SSH in Fedora 36. perl-Net-SSH is Perl extension for secure shell

Introduction

In this tutorial we learn how to install perl-Net-SSH on Fedora 36.

What is perl-Net-SSH

This module implements a Perl interface to ssh. It is a simple wrapper around the system ssh' command. For an all-perl implementation that does not require the system ssh’ command, see Net

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

Install perl-Net-SSH 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 perl-Net-SSH using dnf by running the following command:

sudo dnf -y install perl-Net-SSH

Install perl-Net-SSH 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 perl-Net-SSH using yum by running the following command:

sudo yum -y install perl-Net-SSH

How To Uninstall perl-Net-SSH on Fedora 36

To uninstall only the perl-Net-SSH package we can use the following command:

sudo dnf remove perl-Net-SSH

perl-Net-SSH Package Contents on Fedora 36

/usr/share/doc/perl-Net-SSH
/usr/share/doc/perl-Net-SSH/Changes
/usr/share/doc/perl-Net-SSH/README
/usr/share/man/man3/Net::SSH.3pm.gz
/usr/share/perl5/vendor_perl/Net
/usr/share/perl5/vendor_perl/Net/SSH.pm

References

Summary

In this tutorial we learn how to install perl-Net-SSH on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).