添加 源

/etc/pacman.conf文件中添加:

1
2
3
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = http://repo.archlinuxcn.org/$arch

同步 库

1
$ sudo pacman -Syy

添加 Key

1
$ sudo pacman -S archlinuxcn-keyring