When Pacman is Slow
Set fast reflectors using reflector
-
sudo pacman -S reflector -
sudo systemctl enable reflector2.1
sudo systemctl start reflectorto use reflector for current login session optionally.
If it’s slow even with reflector
Just stop using reflector altogether lol
and actually pick some near servers from here: https://archlinux.org/mirrors/status/
and append $repo/os/$arch at the end of each line.
maybe with a help from https://archlinux.org/mirrorlist/
you can get something like this:
##
## Arch Linux repository mirrorlist
## Filtered by mirror score from mirror status page
## Generated on 2024-11-01
##
## Japan
#Server = https://repo.jing.rocks/archlinux/$repo/os/$arch
## Japan
#Server = https://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
## Japan
#Server = https://www.miraa.jp/archlinux/$repo/os/$arch
## Japan
#Server = https://mirrors.cat.net/archlinux/$repo/os/$arch
## Japan
#Server = https://jp.mirrors.cicku.me/archlinux/$repo/os/$arch
now copy & paste this into /etc/pacman.d/mirrorlist
and done!