# EPEL mirror (pkg.shecan.ir)

> Mirror of EPEL (dl.fedoraproject.org/pub/epel) for Enterprise Linux 9 and 10.

- Upstream: dl.fedoraproject.org/pub/epel
- Mirror URL: <https://mirror-epel.pkg.shecan.ir/>
- Clients: dnf
- Service status: <https://pkg.shecan.ir/status.json> (key `epel`; up/down, refreshed every minute)
- Guide (Persian, HTML): <https://pkg.shecan.ir/mirrors/epel/>
- JSON: <https://pkg.shecan.ir/api/v1/mirrors/epel.json>
- Integrity comparison with the official source (audit.shecan.ir, also run by Shecan, open source; group `epel`, mirror `shecan`): <https://audit.shecan.ir/#epel>

## Limitations

- Use the provided repo file instead of the epel-release package: its repo file uses a metalink and bypasses the mirror.
- $releasever resolves to 9 or 10 automatically; EPEL 10 paths were verified on the mirror.

## Setup

Every block below is the exact text of the Persian guide. Unless marked otherwise it is run against the live mirror in a disposable container on every catalog change; "checked by hand" blocks cannot run in a container. Change a machine only with its owner's permission: back up existing configuration first, merge into existing files instead of overwriting them, and keep the "Undo" step at hand.

### dnf: persistent (user- or system-wide configuration)

Run (linux)

```sh
sudo tee /etc/yum.repos.d/epel.repo <<'REPO'
[epel]
name=EPEL $releasever
baseurl=https://mirror-epel.pkg.shecan.ir/$releasever/Everything/$basearch/
gpgcheck=1
gpgkey=https://mirror-epel.pkg.shecan.ir/RPM-GPG-KEY-EPEL-$releasever
REPO
sudo dnf makecache
```

Undo / restore the default (linux)

```sh
sudo rm -f /etc/yum.repos.d/epel.repo
sudo dnf clean all
```

Verify (linux)

```sh
sudo dnf install -y htop
```
