Dnf do not choose mirrors based on speed, rather it choose mirrors based on latency. Most of time, mirrors chosen by dnf are too slow like 🐢
sed
- Download script
git clone https://github.com/Luciogi/fedora-mirror-changer.git
- Make script executable
cd fedora-mirror-changer/ && chmod +x fedora-mirror-changer.sh
- Copy link of any mirror (Mirrorlist)
- Execute script with root privileges i.e sudo , doas
sudo ./fedora-mirror-changer.sh
NOTE: Do not select second option Update Mirror for first time, because it will not take any backup of default files.