Add http to yum.repos.d

Latest response

Hi,

I try to yum "perl-Net-OpenSSH".

I have below info from my repo.
[root@xilos yum.repos.d]# yum install perl-Net-OpenSSH
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 2.3 MB/s | 14 MB 00:06
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 2.8 MB/s | 14 MB 00:04
Last metadata expiration check: 0:00:03 ago on Sat 14 Mar 2020 11:09:30 CET.
No match for argument: perl-Net-OpenSSH
Error: Unable to find a match: perl-Net-OpenSSH
[root@xilos yum.repos.d]# ^C

I found this "perl-Net-OpenSSH" at https://centos.pkgs.org/7/epel-x86_64/perl-Net-OpenSSH-0.62-1.el7.noarch.rpm.html

I try to add below lines at my redhat.repo
[MyLink]
name = Red Hat - epel
baseurl = ???
enabled = 1
gpgcheck = 0
gpgkey = file:///

I try to add at baseurl different https://. However I am no able to download this "perl-Net-OpenSSH"

Could you suggest me what I need to write at baseurl for downloading this "perl-Net-OpenSSH"?

My regards
Tomasz

Responses