Quantcast
Channel: Linux – PreshBlog
Viewing all articles
Browse latest Browse all 2

Using rankmirrors script for faster Arch Linux package downloads

$
0
0

If you use Arch Linux I’d strongly suggest using the snippet of code below to use rankmirrors to sort your pacman repository mirrors into an optimal order, to use the fastest servers first.


cd /etc/pacman.d
for repo in *; do
echo "Processing $repo..."
mv $repo $repo.b4.rankmirrors
rankmirrors -v $repo.b4.rankmirrors > $repo
done

I was getting an average of about 300-400K/sec; after doing this, I was reaching 10M/sec!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles



Latest Images