-
Notifications
You must be signed in to change notification settings - Fork 4
Mirrors
Syed Sayem edited this page May 16, 2019
·
1 revision
Before we initiate the installation process let’s select the fastest/closest mirrors so that you get the best speed while downloading packages.
Let's make a backup of the existing /etc/pacman.d/mirrorlist
file:
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
We need to install pacman-contrib
package to rankmirrors
, run the following command:
$ sudo pacman -S pacman-contrib
Now, we’re going to run the following command to uncomment every mirror:
sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.backup
Then run the rankmirrors
command below. this will adjust your mirror list properly so that it uses a handful of mirrors with the lowest ping:
rankmirrors -n 10 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
You should see something similar
## Worldwide
Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch
## United States
Server = https://arch.mirror.constant.com/$repo/os/$arch
Server = http://arch.mirror.constant.com/$repo/os/$arch
Server = http://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirrors.advancedhosters.com/archlinux/$repo/os/$arch
Server = https://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch
Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
Server = https://mirror.stephen304.com/archlinux/$repo/os/$arch
## Canada
Server = http://mirror.sergal.org/archlinux/$repo/os/$arch
Server = https://archlinux.olanfa.rocks/$repo/os/$arch
- Home
- Bootable USB Installer
- BIOS
- Pre-installation
- Installation
- Configure System
- Post Installation
- Extra
- Troubleshooting
- Development
- DevOps