devoops
Cover image

Fast Arch Mirrors

published 25/03/2024 in Linux | tags : Linux, Arch

  Estimated read time: 1 min.

How to find the fastest Arch Mirrors

Updates were going slow on my Arch Linux system, so I decided to find the fastest mirrors. Here’s how I did it.

First, I installed the rate-mirrors package:

yay -S rate-mirrors

Then, I ran the following command to find the fastest mirrors in Canada:

rate-mirrors --disable-comments-in-file --entry-country=CA --protocol=https arch --max-delay 7200 | sudo tee /etc/pacman.d/mirrorlist

You can replace the CA with your country code.

I actually saved this into a file for my local bin directory, so I can run it whenever I want.

But this should populate your mirrorlist with the fastest mirrors in your region.