# Arch Linux Mirror (pacman repository) in Iran

Canonical: https://mirror.rasanegaar.com/guides/en/archlinux.html
Language: en

Arch Linux mirror and pacman repository from Iran — mirror.rasanegaar.com/archlinux/

Arch Linux mirror (pacman repository) — For Arch updates in Iran, Rasanegaar Mirror keeps the rolling-release repo close to your desktops and servers — so every <code>pacman -Syu</code> need not depend on distant mirrors.

## About

Arch Linux is a rolling-release distribution with pacman; many users update almost daily. core, extra, and multilib move constantly, and every `pacman -Syu` moves real traffic.
Mirror lag means slow downloads or packages that no longer match the database. For rolling release, a nearby, regularly refreshed mirror in Iran is about reliability as much as speed.
Official ISOs and images are served from the same tree — fresh installs or recovery media need not pull from abroad.

## Mirror in Iran

The Arch mirror in Iran at `mirror.rasanegaar.com/archlinux` serves the same official layout so pacman pulls from Rasanegaar’s software repository.
The tree is live — browse the listing, check size and last update, and switch with one script or a few lines in your mirrorlist.
Use this Server line for pacman: `https://mirror.rasanegaar.com/archlinux/$repo/os/$arch` — pacman fills `$repo` and `$arch` itself.

Browse URL: https://mirror.rasanegaar.com/archlinux/

## Configuration

1. Back up your mirrorlist:
   ```
   /etc/pacman.d/mirrorlist
   ```
2. Put the Rasanegaar Server line above the others (or temporarily comment the rest):
   ```
   Server = https://mirror.rasanegaar.com/archlinux/$repo/os/$arch
   ```
3. Refresh databases and packages from the local mirror:
   ```
   sudo pacman -Syu
   ```

## Updates

Updating Arch in Iran against Rasanegaar Mirror usually feels smoother than geo.mirror.pkgbuild.com or European mirrors — especially when several hosts run `-Syu` at once.
After switching, keep your normal pacman routine; only the package origin changed. If pacman complains about an out-of-date mirror, check this page’s last-update facts first.
Single-package installs use the same mirror — for example `sudo pacman -S vim`.

HTML version: https://mirror.rasanegaar.com/guides/en/archlinux.html
