dnf

Primary endpoint

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

Companion repositories

This distribution requires more than one archive β€” list each one below in your client configuration.

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

Oracle's path layout uses the OLx prefix (OL9/baseos/latest/x86_64/). The first request to a new repodata version may take 30-90 seconds while Nexus pre-fetches primary.xml.gz; subsequent requests are instant.

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 (first hit may take 30-90s while Nexus pre-fetches metadata)
curl -fsSL https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/baseos/latest/x86_64/repodata/repomd.xml | head

Default client configuration

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

; /etc/yum.repos.d/oracle-linux.repo  (Oracle Linux 9)

[ol9_baseos_latest]
name=Oracle Linux 9 BaseOS Latest ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/baseos/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol9_appstream]
name=Oracle Linux 9 Application Stream ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/appstream/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol9_codeready_builder]
name=Oracle Linux 9 CodeReady Builder ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/codeready/builder/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0

[ol9_uekr7]
name=Oracle Linux 9 UEK Release 7 ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/UEKR7/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

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

Configuration by release

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

Oracle Linux 9 default

First metadata fetch may take 30–90s while Nexus warms the cache.

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/baseos/latest/x86_64/repodata/repomd.xml | head

Client configuration

; /etc/yum.repos.d/oracle-linux.repo  (Oracle Linux 9)

[ol9_baseos_latest]
name=Oracle Linux 9 BaseOS Latest ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/baseos/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol9_appstream]
name=Oracle Linux 9 Application Stream ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/appstream/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol9_uekr7]
name=Oracle Linux 9 UEK Release 7 ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL9/UEKR7/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

Oracle Linux 8

First metadata fetch may take 30–90s while Nexus warms the cache.

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/oraclelinux-group/OL8/baseos/latest/x86_64/repodata/repomd.xml | head

Client configuration

; /etc/yum.repos.d/oracle-linux.repo  (Oracle Linux 8)

[ol8_baseos_latest]
name=Oracle Linux 8 BaseOS Latest ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL8/baseos/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol8_appstream]
name=Oracle Linux 8 Application Stream ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL8/appstream/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol8_uekr7]
name=Oracle Linux 8 UEK Release 7 ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL8/UEKR7/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

Oracle Linux 7

First metadata fetch may take 30–90s while Nexus warms the cache.

Quick verification

curl -fsSL https://mirror.kargadan.ir/repository/oraclelinux-group/OL7/baseos/latest/x86_64/repodata/repomd.xml | head

Client configuration

; /etc/yum.repos.d/oracle-linux.repo  (Oracle Linux 7)

[ol7_baseos_latest]
name=Oracle Linux 7 BaseOS Latest ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL7/baseos/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol7_appstream]
name=Oracle Linux 7 Application Stream ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL7/appstream/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol7_uekr7]
name=Oracle Linux 7 UEK Release 7 ($basearch)
baseurl=https://mirror.kargadan.ir/repository/oraclelinux-group/OL7/UEKR7/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

CI / container example

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

# Dockerfile snippet
FROM oraclelinux:OL9
COPY oracle-linux.repo /etc/yum.repos.d/oracle-linux.repo
RUN dnf clean all && dnf -y makecache

Mirror information

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

Oracle's path layout uses the OLx prefix (OL9/baseos/latest/x86_64/). The first request to a new repodata version may take 30-90 seconds while Nexus pre-fetches primary.xml.gz; subsequent requests are instant.