Page 1 of 1

Packet perl-Net-SSH

Posted: 2020/03/05 20:29:03
by alpork

I have server with centos 7.
[root@local ~]# uname -a
Linux localhost.localdomain 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

This server is not connected to Internet. However I need to install packet Net::OpenSSH.
I download it from ... h.rpm.html

I have below info:
[root@local ~]# yum install perl-Net-SSH-0.09-26.el7.src.rpm
Loaded plugins: fastestmirror
Examining perl-Net-SSH-0.09-26.el7.src.rpm: perl-Net-SSH-0.09-26.el7.src
Cannot add package perl-Net-SSH-0.09-26.el7.src.rpm to transaction. Not a compatible architecture: src
Error: Nothing to do

Could you please suggest me where I can find correct rpm?
What I do wrong?

My regards

Re: Packet perl-Net-SSH

Posted: 2020/03/06 08:54:05
by sml
Wrong package: you were trying to install the source instead of the binary.

The right one is ... noarch.rpm

Re: Packet perl-Net-SSH

Posted: 2020/03/06 14:24:38
by TrevorH
And that's the wrong way to install it anyway. You should add the repo - EPEL - to your system and then just yum install it. So

yum install epel-release
yum install perl-Net-SSH

Re: Packet perl-Net-SSH

Posted: 2020/03/07 19:40:48
by sml
alpork wrote:
2020/03/05 20:29:03
This server is not connected to Internet.