dnf

Primary endpoint

Use https://mirror.kargadan.ir/repository/rocky-group/ as the canonical baseurl in your client configuration.

3 archives

Companion archives included

Primary archive plus 2 companion archives (security · updates · backports — listed below).

Anonymous

No sign-in required

Public read access over HTTPS. Plain HTTP is available for legacy clients that cannot validate the certificate.

Repository URL

Drop one of the URLs below into your client configuration. HTTPS is the right choice in almost every case.

HTTPS · recommended
https://mirror.kargadan.ir/repository/rocky-group/
HTTP · legacy clients only
http://mirror.kargadan.ir/repository/rocky-group/

Companion repositories

This distribution requires more than one archive — list each one below in your client configuration.

NameURL
rocky-proxyhttps://mirror.kargadan.ir/repository/rocky-proxy/
epel-proxyhttps://mirror.kargadan.ir/repository/epel-proxy/

rocky-group serves BaseOS, AppStream, CRB, extras, and the matching EPEL release from a single baseurl.

Quick verification

Run this from any machine that can reach the mirror. It should complete in under a second once metadata is cached.

# Quick smoke test
curl -fsSL https://mirror.kargadan.ir/repository/rocky-group/9/BaseOS/x86_64/os/repodata/repomd.xml | head

Default client configuration

Drop this file at /etc/yum.repos.d/rocky.repo on the target host for the recommended default release (9). See configuration by release for every supported suite.

; /etc/yum.repos.d/rocky.repo  (Rocky Linux 9)
; rocky-group transparently overlays EPEL.

[baseos]
name=Rocky Linux $releasever - BaseOS
baseurl=https://mirror.kargadan.ir/repository/rocky-group/$releasever/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-$releasever
countme=1

[appstream]
name=Rocky Linux $releasever - AppStream
baseurl=https://mirror.kargadan.ir/repository/rocky-group/$releasever/AppStream/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-$releasever

[crb]
name=Rocky Linux $releasever - CRB
baseurl=https://mirror.kargadan.ir/repository/rocky-group/$releasever/CRB/$basearch/os/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-$releasever

[extras]
name=Rocky Linux $releasever - Extras
baseurl=https://mirror.kargadan.ir/repository/rocky-group/$releasever/extras/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-$releasever

[epel]
name=Extra Packages for Enterprise Linux $releasever
baseurl=https://mirror.kargadan.ir/repository/rocky-group/$releasever/Everything/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever

Configuration by release

Each block below is a complete, copy-ready configuration for one suite or release. Install path: /etc/yum.repos.d/rocky.repo. The same patterns are committed under /opt/client-configs/rocky/rocky.repo on the mirror host (default release only).

Rocky Linux 10 current

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/rocky-group/10/BaseOS/x86_64/os/repodata/repomd.xml | head

Client configuration

; /etc/yum.repos.d/rocky.repo  (Rocky Linux 10)

[baseos]
name=Rocky Linux 10 - BaseOS
baseurl=https://mirror.kargadan.ir/repository/rocky-group/10/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-10

[appstream]
name=Rocky Linux 10 - AppStream
baseurl=https://mirror.kargadan.ir/repository/rocky-group/10/AppStream/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-10

[extras]
name=Rocky Linux 10 - Extras
baseurl=https://mirror.kargadan.ir/repository/rocky-group/10/extras/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-10

Rocky Linux 9 default stable

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/rocky-group/9/BaseOS/x86_64/os/repodata/repomd.xml | head

Client configuration

; /etc/yum.repos.d/rocky.repo  (Rocky Linux 9)

[baseos]
name=Rocky Linux 9 - BaseOS
baseurl=https://mirror.kargadan.ir/repository/rocky-group/9/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9

[appstream]
name=Rocky Linux 9 - AppStream
baseurl=https://mirror.kargadan.ir/repository/rocky-group/9/AppStream/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9

[extras]
name=Rocky Linux 9 - Extras
baseurl=https://mirror.kargadan.ir/repository/rocky-group/9/extras/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9

Rocky Linux 8 legacy

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/rocky-group/8/BaseOS/x86_64/os/repodata/repomd.xml | head

Client configuration

; /etc/yum.repos.d/rocky.repo  (Rocky Linux 8)

[baseos]
name=Rocky Linux 8 - BaseOS
baseurl=https://mirror.kargadan.ir/repository/rocky-group/8/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-8

[appstream]
name=Rocky Linux 8 - AppStream
baseurl=https://mirror.kargadan.ir/repository/rocky-group/8/AppStream/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-8

[extras]
name=Rocky Linux 8 - Extras
baseurl=https://mirror.kargadan.ir/repository/rocky-group/8/extras/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-8

CI / container example

A minimal snippet you can paste into a Dockerfile or pipeline step.

# Dockerfile snippet
FROM rocky:9
COPY rocky.repo /etc/yum.repos.d/rocky.repo
RUN dnf clean all && dnf -y makecache

Mirror information

DistributionRocky Linux
Package managerdnf
Mirror format (Nexus)yum
Default suite / branch9
AuthenticationNot required (anonymous read)
ProtocolsHTTPS · HTTP
Notes & limitations

rocky-group serves BaseOS, AppStream, CRB, extras, and the matching EPEL release from a single baseurl.