Packet perl-Net-SSH

Issues related to applications and software problems
Post Reply
alpork
Posts: 1
Joined: 2020/03/05 11:23:02

Packet perl-Net-SSH

Post by alpork » 2020/03/05 20:29:03

Hello

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 https://centos.pkgs.org/7/epel-x86_64/p ... 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?
or
What I do wrong?

My regards
Alpork

sml
Posts: 116
Joined: 2020/01/17 09:01:44

Re: Packet perl-Net-SSH

Post by sml » 2020/03/06 08:54:05

Wrong package: you were trying to install the source instead of the binary.

The right one is https://download.fedoraproject.org/pub/ ... noarch.rpm

User avatar
TrevorH
Forum Moderator
Posts: 29959
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Packet perl-Net-SSH

Post by TrevorH » 2020/03/06 14:24:38

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
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

sml
Posts: 116
Joined: 2020/01/17 09:01:44

Re: Packet perl-Net-SSH

Post by sml » 2020/03/07 19:40:48

alpork wrote:
2020/03/05 20:29:03
This server is not connected to Internet.

Post Reply

Return to “CentOS 7 - Software Support”