Mirrors
From ArchWiki
| i18n |
|---|
| English |
| 简体中文 |
Enabling your favorite mirror
The default pacman configuration (/etc/pacman.conf) for core looks like this:
[core] Include = /etc/pacman.d/mirrorlist
If you want to use the HostEurope mirror as your default mirror, just add it before the Include line:
[core] Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/core/os/i686 Include = /etc/pacman.d/mirrorlist
edit: The release of pacman 3.1 introduced the /etc/pacman.d/mirrorlist with the variable $repo, no need to maintain separate list for each repository.
Pacman will now try to connect to this mirror first. You can do the same for testing, extra, and community'.
Use the same mirror for all repositories. Otherwise packages may get installed that are incompatible to each other (like kernel26 from core and another (older) kernel module from extra).
Mirror List
This is a list of all known Arch Linux mirrors, that's more up to date than the official download page or the files in /etc/pacman.d/. If you know of a mirror that is not listed, please add it. Mirrors which are no longer updated or have been unavailable for a long time can be deleted.
Here is a hint to check just how up-to-date your chosen mirror is:
- pick a server and browse to "extra/os/"
- load http://www.archlinux.org/ in another tab or window
- compare the last-modified date of the "i686" directory on the mirror to the "Extra" date on the homepage, in the "Package Repositories" box to the right.
Many sites also provide http service, but keep in mind that pacman relies on ftp to determine if a repository got updated. With http it fetches the repository database each time you run pacman -Sy, even if it didn't change since the last run.
This website provides updates on the current status of the Arch mirrors and how up to date they are.
Sort Your Mirrors by Their Speed
Don't forget to take full advantage of using the fastest mirror for you which you can determine via the included python script /usr/bin/rankmirrors. First, use pacman to install python if you haven't already done so:
# pacman -S python
cd to the /etc/pacman.d/ directory:
# cd /etc/pacman.d
Backup your existing /etc/pacman.d/mirrorlist:
# cp mirrorlist mirrorlist.backup
Edit mirrorlist.backup and uncomment mirrors you want to test with rankmirrors.
Run the script against the mirrorlist.backup with the -n switch and redirect output to a new /etc/pacman.d/mirrorlist file:
# rankmirrors -n 6 mirrorlist.backup > mirrorlist
-n 6: rank the 6 fastest mirrors
Force pacman to refresh the package lists
After creating/editing your /etc/pacman.d/mirrorlist, (manually or by /usr/bin/rankmirrors) issue the following command:
# pacman -Syy
Passing two --refresh or -y flags forces pacman to refresh all package lists even if they are considered to be up to date. Issuing pacman -Syy whenever a mirror is changed, is good practice and will avoid possible headaches.
Official mirrors
Attention: Do not add new mirrors to the list below. If you want your mirror to be added to official list - file a feature request. In the meantime add it to the "Unofficial mirrors" list at the end of this page.
Australia
- ftp://mirror.pacific.net.au/linux/archlinux/ http [rsync://mirror.pacific.net.au/linux/archlinux/]
- ftp://mirror.aarnet.edu.au/pub/archlinux/ http [rsync://mirror.aarnet.au/pub/archlinux/]
- ftp://ftp.iinet.net.au/pub/archlinux/ http [rsync://ftp.iinet.net.au/archlinux/]
- http://mirror.internode.on.net/pub/archlinux/ [rsync://mirror.internode.on.net/pub/archlinux/]
Austria
Belgium
Brazil
- ftp://archlinux.c3sl.ufpr.br/archlinux/ http [rsync://archlinux.c3sl.ufpr.br/archlinux rsync]
- ftp://ftp.las.ic.unicamp.br/pub/archlinux http [rsync://rsync.las.ic.unicamp.br/pub/archlinux rsync]
- http://pet.inf.ufsc.br/mirrors/archlinux/
Canada
- ftp://mirror.csclub.uwaterloo.ca/archlinux/ http [rsync://mirror.csclub.uwaterloo.ca/archlinux/ rsync]
- ftp://mirrors.portafixe.com/archlinux/ http
Czech Republic
Denmark
Estonia
France
- ftp://mir1.archlinuxfr.org/archlinux http [rsync://mir1.archlinuxfr.org/archlinux rsync]
- ftp://mir2.archlinuxfr.org/archlinux http [rsync://mir2.archlinuxfr.org/archlinux rsync]
- ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ http [rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ rsync]
- http://mir.archlinux.fr/
- ftp://ftp.free.fr/mirrors/ftp.archlinux.org/
- ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/
Germany
- ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/ http
- ftp://ftp5.gwdg.de/pub/linux/archlinux/ http [rsync://ftp5.gwdg.de/pub/linux/archlinux/ rsync]
- ftp://ftp.uni-bayreuth.de/pub/linux/archlinux http [rsync://rsync.uni-bayreuth.de/archlinux/ rsync]
- ftp://ftp.archlinuxppc.org/i686/
- ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/ http
- ftp://ftp.uni-kl.de/pub/linux/archlinux/ http [rsync: ftp.uni-kl.de::pub/linux/archlinux/ rsync]
- http://mirrors.igprolin-online.org/pub/archlinux
- ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/ http [rsync://ftp-stud.hs-esslingen.de/archlinux/ rsync]
- ftp://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/
- http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/
Great Britain
- http://www.mirrorservice.org/sites/ftp.archlinux.org/
- ftp://mirrors.uk2.net/pub/archlinux/ http
- http://mirror.lividpenguin.com/pub/archlinux/ ftp
Greece
Hungary
Ireland
Indonesia
Israel
Italy
Japan
Latvia
Lithuania
Netherlands
- ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/ http
- ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/ http
Norway
- http://mirror.archlinux.no/ ftp(rsync available)
Poland
- ftp://mirror.icis.pcz.pl/archlinux/
- ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/ http
- http://unix.net.pl/archlinux.org/
Portugal
- ftp://cesium.di.uminho.pt/pub/archlinux/ http
- ftp://darkstar.ist.utl.pt/pub/archlinux/ http
- ftp://ftp.nux.ipb.pt/pub/dists/archlinux/ http
Romania
Russia
- ftp://mirror.yandex.ru/archlinux/ http (rsync available)
- http://archlinux.freeside.ru/ - outdated (last updated at 26 March 2009)
Sweden
Switzerland
Taiwan
- ftp://cle.linux.org.tw/pub/ArchLinux/ (no testing, no new isos)
Turkey
Ukraine
- ftp://archlinux.hell.org.ua/archlinux/ http(rsync available)
- ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/ http
United States
- ftp://ftp.archlinux.org/
- ftp://locke.suu.edu/linux/dist/archlinux/
- http://archlinux.unixheads.org/
- ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/ http
- ftp://mirror.cs.vt.edu/pub/ArchLinux/ http (rsync available)
- ftp://mirrors.easynews.com/linux/archlinux/ http
- ftp://ibiblio.org/pub/linux/distributions/archlinux/ http
- http://archlinux.umflint.edu/
- http://mirror.neotuli.net/
- ftp://mirror.rit.edu/archlinux/ http [rsync://mirror.rit.edu/archlinux/ rsync]
- http://schlunix.org/archlinux/
- http://mirror.umoss.org/archlinux/ [rsync://mirror.umoss.org/archlinux/ rsync]
- http://mirror.archlinux.com.ve/
- http://mirrors.gigenet.com/archlinux/
Venezuela
Vietnam
- ftp://ftp.indochinalinux.com/archlinux/ (frequent DNS problems, IP is 202.78.230.5)
Unofficial mirrors
These mirrors are not listed in /etc/pacman.d/mirrorlist.
Global
- http://prdownloads.sourceforge.net/archlinux/ ( Doesn't have recent ISO releases. Use it only if for some reason you want to use an older ISO. )
Australia
- http://mirror.optus.com.au/pub/archlinux/ http [rsync://mirror.optus.com.au/pub/archlinux/]
Bulgaria
- http://archlinux.igor.onlinedirect.bg/ http
- ftp://archlinux.igor.onlinedirect.bg/linux/archlinux/ http
Canada
- http://mirror.twilightlair.net/arch/ [rsync://mirror.twilightlair.net/arch/ rsync]
China
- http://mirrors.lcuc.org.cn/archlinux/
- http://mirror.lupaworld.com/archlinux/
- http://public.gooth.cn/archlinux/ (only include i686)
- http://mirrors.163.com/archlinux/archlinux/
- http://mirror.bjtu.edu.cn/archlinux/
Germany
Great Britain
Lithuania
Malaysia
New Caledonia
- ftp://archlinux.nautile.nc/archlinux/ http [rsync://archlinux.nautile.nc/archlinux/ rsync] (no ISO image)
Norway
Poland
- ftp://ftp.icm.edu.pl/pub/Linux/sunsite/distributions/archlinux/ http - up-to-date, but no Core repository
South Africa
- http://archlinux.mirror.ac.za/ TENET Mirror
- ftp://archlinux.mirror.ac.za/
- http://ftp.sun.ac.za/ftp/pub/mirrors/archlinux/ Stellenbosch University
- ftp://ftp.sun.ac.za/pub/mirrors/archlinux/
- http://ftp.leg.uct.ac.za/pub/linux/arch/ University of Cape Town
- ftp://ftp.leg.uct.ac.za/pub/linux/arch/
Spain
- ftp://ftp.udc.es/mirror/archlinux/ http [rsync://ftp.udc.es/mirror/archlinux/ rsync]
United States
- http://archlinux.linuxfreedom.com Contains all the ISO images
- ftp://mirrors.acm.jhu.edu/arch/ http [rsync://mirrors.acm.jhu.edu/arch rsync]
- ftp://ftp.osuosl.org/pub/archlinux/ http (i686 only - current and extra) - outdated
IPv6-ready mirrors
- http://power.klette.us/mirror/ (Norway)
- http://arch.iskrembilen.com/ (Norway, rsync available)
- niue.belnet.be (Belgium)
- ftp.estpak.ee (Estonia)
- patroklos.noc.ntua.gr (Greece)
- ftp.heanet.ie (Ireland)
- ftp.nluug.nl (Netherlands)
- ftp.surfnet.nl (Netherlands)
- ftp.sixnix.net/ftp6.sixnix.net (Finland) - dead