Linux - yum

From Ever changing code
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This is a package manger for RedHat and CentOS

vi /etc/yum.repos.d/redhat-rhui.repo # one of repository files

[rhel-8-baseos-rhui-debug-rpms] # name of repository, actual name inder a repo
name=Red Hat Enterprise Linux 8 for $basearch - BaseOS from RHUI (Debug RPMs) # description of repository
# baseurl= # not required
mirrorlist=https://rhui3.REGION.aws.ce.redhat.com/pulp/mirror/content/dist/rhel8/rhui/8/$basearch/baseos/debug # used if can't connect to baseurl
enabled=0 # 0 - disabled, 1 - enabled 
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
sslverify=1
sslclientkey=/etc/pki/rhui/content-rhel8.key
sslclientcert=/etc/pki/rhui/product/content-rhel8.crt
sslcacert=/etc/pki/rhui/cdn.redhat.com-chain.crt