Set Up Your Fastest Mirrors
From ArchBang
Selecting and configuring the fastest Arch mirrors available to your locale can make a huge difference to your downloading and upgrading speed. You can check to see which mirrors are up-to-date at http://www.archlinux.org/mirrors/status/
Use cd to switch to the /etc/pacman.d directory:
# cd /etc/pacman.d
Backup the existing /etc/pacman.d/mirrorlist:
# cp mirrorlist mirrorlist.backup
Edit mirrorlist.backup and uncomment mirrors for testing with rankmirrors:
# nano mirrorlist.backup
Optionally run the following sed line to uncomment every mirror:
# sed '/^#\S/ s|#||' -i mirrorlist.backup
Next, rank the mirrors. Operand -n 6 means only output the 6 fastest mirrors:
# rankmirrors -n 6 mirrorlist.backup > mirrorlist
Finally, refresh the new fastest mirror's package lists with the command:
# pacman -Syy
Personally, I have 15 mirrors uncommented and ranked because sometimes one mirror may not be updated as fast as another or may become unsynced. However many mirrors you use is your own personal choice.
Back to Table of Contents