Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


CentOS 8 vault repo

06 Apr 2022 »

cat > /etc/yum.repos.d/appstream.repo <<EOF
[appstream]
name=AppStream
baseurl="https://vault.centos.org/8.4.2105/AppStream/x86_64/os/"
enabled=1
gpgcheck=0
EOF

cat > /etc/yum.repos.d/baseos.repo <<EOF
[baseos]
name=BaseOS
baseurl="https://vault.centos.org/8.4.2105/BaseOS/x86_64/os/"
enabled=1
gpgcheck=0
EOF

cat > /etc/yum.repos.d/extras.repo <<EOF
[extras]
name=Extras
baseurl="https://vault.centos.org/8.4.2105/extras/x86_64/os/"
enabled=1
gpgcheck=0
EOF
cat > /etc/yum.repos.d/rocky.repo <<EOF

[rocky-appstream]
name=Rocky Linux \$releasever - AppStream
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=\$basearch&repo=AppStream-\$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/AppStream/\$basearch/os/
gpgcheck=0
enabled=1

[rocky-baseos]
name=Rocky Linux \$releasever - BaseOS
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=\$basearch&repo=BaseOS-\$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/
enabled=1

[rocky-extras]
name=Rocky Linux \$releasever - Extras
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=\$basearch&repo=extras-\$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/extras/$basearch/os/
gpgcheck=0
enabled=1

[rocky-plus]
name=Rocky Linux \$releasever - Plus
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=\$basearch&repo=rockyplus-\$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/rockyplus/$basearch/os/
gpgcheck=0
enabled=1

[rocky-powertools]
name=Rocky Linux \$releasever - PowerTools
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=\$basearch&repo=PowerTools-\$releasever
#baseurl=http://dl.rockylinux.org/$contentdir/$releasever/PowerTools/$basearch/os/
gpgcheck=0
enabled=1

EOF