Arch Linux

Faster Updates

Mirrors

The Reflector program is used to find the fastest mirrors for Arch Linux. This will not work for other distributions based on Arch Linux such as Manjaro.

  • Installation:

    $ sudo pacman -S reflector
    
  • Optionally configure it by setting one argument per line in the configuration file:

    $ sudo vim /etc/xdg/reflector/reflector.conf
    --protocol [http|https]
    --latest <NUMBER_OF_MIRRORS_TO_USE>
    --country <COUNTRY1>,<COUNTRY2>
    --save /etc/pacman.d/mirrorlist
    
  • Start it once:

    $ sudo systemctl enable reflector.service
    
  • Run it once a week:

    $ sudo systemctl enable reflector.timer
    

[1]

Bibliography

  1. “Reflector.” ArchWiki. November 19, 2021. Accessed January 10, 2022. https://wiki.archlinux.org/title/reflector