dnf

Primary endpoint

Use https://mirror.kargadan.ir/repository/almalinux-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/almalinux-group/
HTTP · legacy clients only
http://mirror.kargadan.ir/repository/almalinux-group/

Companion repositories

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

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

almalinux-group transparently overlays EPEL — you can use the same baseurl prefix for [baseos], [appstream], and [epel] entries.

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/almalinux-group/9/BaseOS/x86_64/os/repodata/repomd.xml | head

Default client configuration

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

; /etc/yum.repos.d/almalinux.repo  (AlmaLinux 9 — replaces almalinux-{baseos,appstream,extras,crb}.repo)
; The almalinux-group merges almalinux-proxy + epel-proxy so a single baseurl
; can resolve packages from both. Disable mirrorlist=, set baseurl=.

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

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

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

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

[epel]
; EPEL is served transparently through the same yum group baseurl because
; the almalinux-group has epel-proxy as a member.
name=Extra Packages for Enterprise Linux $releasever
baseurl=https://mirror.kargadan.ir/repository/almalinux-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/almalinux.repo. The same patterns are committed under /opt/client-configs/almalinux/almalinux.repo on the mirror host (default release only).

AlmaLinux 10 current

Quick verification

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

Client configuration

; /etc/yum.repos.d/almalinux.repo  (AlmaLinux 10)

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

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

AlmaLinux 9 default stable

Quick verification

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

Client configuration

; /etc/yum.repos.d/almalinux.repo  (AlmaLinux 9)

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

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

AlmaLinux 8 legacy

Quick verification

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

Client configuration

; /etc/yum.repos.d/almalinux.repo  (AlmaLinux 8)

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

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

CI / container example

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

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

Mirror information

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

almalinux-group transparently overlays EPEL — you can use the same baseurl prefix for [baseos], [appstream], and [epel] entries.