#mirror #arch-linux #pacman #cli

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

#929 in Command line utilities

Download history 66/week @ 2024-02-18 3/week @ 2024-02-25

69 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–19MB
~279K SLoC