====== AlmaLinux 9 — Mirror Configuration ====== The local mirror covers AlmaLinux 9 (''x86_64'') including BaseOS, AppStream, and extras repositories. AlmaLinux is a community-driven RHEL-compatible distribution and a drop-in replacement for CentOS. See also: [[mirrors:rocky|Rocky Linux 9]] — an alternative CentOS replacement with the same package structure. ===== DNF / YUM Repository Configuration ===== Disable the default upstream repos and install the local mirror repo file: # Disable upstream repos sed -i 's/^enabled=1/enabled=0/' /etc/yum.repos.d/almalinux*.repo # Download and install local mirror repo curl -o /etc/yum.repos.d/nplab-mirror.repo https://mirror.nplab.bth.se/configs/almalinux/almalinux9.repo dnf clean all dnf makecache ===== Release Reference ===== ^ Release ^ Arch ^ Local URL ^ Config File ^ | AlmaLinux 9 | x86_64 | ''https://mirror.nplab.bth.se/almalinux/9/'' | [[https://mirror.nplab.bth.se/configs/almalinux/almalinux9.repo|almalinux9.repo]] | **Download and apply (run as root):** curl -o /etc/yum.repos.d/nplab-mirror.repo https://mirror.nplab.bth.se/configs/almalinux/almalinux9.repo dnf clean all && dnf makecache ===== Mirror Structure ===== /almalinux/9/ BaseOS/x86_64/os/ ← base system packages AppStream/x86_64/os/ ← additional applications extras/x86_64/os/ ← community extras ===== Notes ===== * TBD