#arch-linux #mirror

app asu

Archlinux set the fastest mirror source cli

6 releases

0.1.33 Oct 8, 2022
0.1.31 Oct 8, 2022
0.1.29 Aug 17, 2022
0.1.27 Jul 11, 2022
0.1.6 May 29, 2022

#2162 in Command line utilities

Download history 3/week @ 2024-06-28 29/week @ 2024-07-05 31/week @ 2024-07-26 8/week @ 2024-08-02

85 downloads per month

Apache-2.0

4MB
1K SLoC

Contains (ELF exe/lib, 2MB) src/usr/bin/asu, (ELF exe/lib, 2MB) pkg/asu-bin/usr/bin/asu

Archlinux set the fastest mirror source cli

Crates.io Rust license

Examples

asu -h
asu - archlinux set mirror source cli
Usage:        
asu -n FR|| -new FR => fetch archlinux France mirror source and set fatest pacman mirror
asu -u name|| -use name => set selected mirror source
asu -l || -list => list all mirror list
asu -w || -where => shows the .asu.toml file path
asu -c || -country => shows all country abbreviated names 
asu -t || -test => get config from local .asu.toml file and test speed
asu -b || -best => get config from local .asu.toml file and set best pacman mirror

Install

cargo install asu

Run to set

sudo asu
The first run requires a 2 capital letter country abbreviated name
#example
sudo asu -n FR => France mirror source
sudo asu -n AU => Australia mirror source
sudo asu -n US => Us mirror source
sudo asu -n DE => Germany mirror source
sudo asu -n GB => British mirror source
sudo asu -n CN => China mirror source

Dependencies

~7–17MB
~254K SLoC