South African Linux Mirror for Debian, Ubuntu, Rocky, AlmaLinux and Kali
Local package repositories hosted in South Africa by Rackzar. Point apt or dnf at mirror.rackzar.net for faster updates, lower latency and zero international bandwidth.
Serving a total of … locally in ZA
Mirrored distributions
Live sync status for every repository. Click a distribution to browse its files.
-
Debian
CheckingDebian GNU/Linux APT repository mirror for Trixie, Bookworm, Bullseye and Sid.
/debian/ -
Ubuntu
CheckingUbuntu archive mirror in South Africa for current LTS releases.
/ubuntu/ -
AlmaLinux
CheckingAlmaLinux DNF repositories, a RHEL compatible enterprise distribution.
/alma/ -
Rocky Linux
CheckingRocky Linux DNF repositories, a community enterprise OS compatible with RHEL.
/rocky/ -
Kali Linux
CheckingKali Linux rolling repository for penetration testing and security research.
/kali-linux/ -
GRML
CheckingGRML live system for sysadmins: rescue, recovery and system maintenance images.
/grml/
Missing a distro or ISO?
Should we consider adding more distributions or ISO images?
Submit your suggestion and our team will review it.
How to use the mirror
Copy the configuration for your distribution. Back up your existing sources first and run apt update or dnf makecache afterwards.
Debian mirror in South Africa
Debian 12 and 13 can use the deb822 format. Replace trixie with your release.
Types: deb URIs: http://mirror.rackzar.net/debian Suites: trixie trixie-updates Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Classic one-line format (older releases):
deb http://mirror.rackzar.net/debian <release> main contrib non-free
Keep security.debian.org as your security source so fixes arrive the moment they are published.
Ubuntu mirror in South Africa
Ubuntu 24.04 and newer use ubuntu.sources. This swaps the archive URL and leaves the security pocket untouched:
sudo sed -i.bak 's|http://[a-z.]*archive.ubuntu.com/ubuntu|http://mirror.rackzar.net/ubuntu|g' /etc/apt/sources.list.d/ubuntu.sources
Classic one-line format (22.04 and older):
deb http://mirror.rackzar.net/ubuntu <release> main restricted universe multiverse deb http://mirror.rackzar.net/ubuntu <release>-updates main restricted universe multiverse
Rocky Linux mirror in South Africa
Disable the mirrorlist and point the base URL at Rackzar. A .bak copy of each repo file is kept.
sudo sed -i.bak -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirror.rackzar.net/rocky|g' \ /etc/yum.repos.d/rocky*.repo sudo dnf makecache
AlmaLinux mirror in South Africa
Disable the mirrorlist and point the base URL at Rackzar. A .bak copy of each repo file is kept.
sudo sed -i.bak -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^# baseurl=https://repo.almalinux.org/almalinux|baseurl=https://mirror.rackzar.net/alma|g' \ /etc/yum.repos.d/almalinux*.repo sudo dnf makecache
Kali Linux mirror in South Africa
Replace the default Kali source with the local mirror:
deb http://mirror.rackzar.net/kali-linux kali-rolling main contrib non-free non-free-firmware
GRML downloads in South Africa
Download GRML live ISOs for rescue and recovery directly from the local mirror, then write them to USB or attach them to a VM.
Why use a local Linux mirror?
mirror.rackzar.net runs on Rackzar's own network, AS329206, built for South African traffic.
Faster updates
Packages come from inside South Africa instead of Europe or the US, so apt upgrade and dnf update finish sooner.
Local peering
100Gbit peering at CINX, JINX and NAPAfrica in Cape Town and Johannesburg keeps traffic on local networks.
No international bandwidth
Save costly international transit on servers, office networks and large VM fleets.
Signed and verified
Repositories are mirrored as published upstream, so GPG signatures verify exactly as with the official servers.
Frequently asked questions
Is the Rackzar Linux mirror free to use?
Yes. mirror.rackzar.net is a free public mirror. Anyone can point their package manager at it, whether you are a Rackzar client or not.
Which Linux distributions are mirrored?
Debian, Ubuntu, Rocky Linux, AlmaLinux, Kali Linux and GRML are mirrored from upstream and synced automatically several times a day.
Why use a South African Linux mirror?
Packages are served from inside South Africa, so updates download faster with lower latency and do not consume international bandwidth. Rackzar peers at CINX, JINX and NAPAfrica, so traffic from most local networks stays local.
Should I use HTTP or HTTPS?
Both work. HTTP is kept available without a forced redirect for maximum package manager compatibility. Packages are GPG signed, so integrity is verified either way. Use HTTPS if your network policy requires it.
How often is the mirror updated?
Each repository syncs on an automated schedule. The live status cards on this page show the last successful sync and repository size for every distribution.
Can I request another distribution or ISO?
Yes. If there is a Linux distribution, repository or ISO image you would like mirrored, submit it via our contact page and our team will review it.
Need servers next to the mirror?
Browse our selection of locally hosted services from Cape Town and Johannesburg.