CentOS/10/Yum

From Omnia
< CentOS‎ | 10
Jump to navigation Jump to search

/etc/yum.repos.d/centos10.repo

ls -l /etc/pki/rpm-gpg
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial-SHA256
rpm -qa gpg-pubkey* | grep -i f4a80e
https://www.centos.org/keys/
https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official-SHA256


curl https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official-SHA256 -o /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Official
curl --fail -s https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official-SHA256 -o /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Official
if [ $? -ne 0 ] ; then echo "FAIL" ; fi
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Official
rpm -qa gpg-pubkey* | grep -i 8483c65d


https://mirror.stream.centos.org/10-stream/BaseOS/x86_64/os/Packages/
https://mirror.stream.centos.org/10-stream/COMPOSE_ID
  CentOS-Stream-10-20260810.0
https://mirror.stream.centos.org/10-stream/CRB/
https://mirror.stream.centos.org/10-stream/
This directory tree contains new CentOS Stream releases, starting from release '9-stream'
For previous CentOS Linux releases , see CentOS mirror. http://mirror.centos.org/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial-SHA256
cat > /etc/yum.repos.d/CentOS-Stream.repo << "EOF"
[baseos]
name=CentOS Stream 10 - BaseOS
baseurl=https://mirror.stream.centos.org/10-stream/BaseOS/x86_64/os/
gpgcheck=1
enabled=1
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official

[appstream]
name=CentOS Stream 10 - AppStream
baseurl=https://mirror.stream.centos.org/10-stream/AppStream/x86_64/os/
gpgcheck=1
enabled=1
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official

[crb]
name=CentOS Stream 10 - CRB
baseurl=https://mirror.stream.centos.org/10-stream/CRB/x86_64/os/
gpgcheck=1
enabled=1
gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official

EOF