help/AUR add steps for yay

This commit is contained in:
Jiachen YANG 2019-05-22 15:09:17 +09:00
parent befaa17357
commit 250613912a
No known key found for this signature in database
GPG Key ID: 90CB3D62C13D4796

View File

@ -6,8 +6,24 @@ layout: help
# AUR 镜像使用帮助
## yaourt 用户
修改 `/etc/yaourtrc`,去掉 `# AURURL` 的注释,修改为
```
AURURL="https://aur.tuna.tsinghua.edu.cn"
```
## yay 用户
执行以下命令修改 aururl :
```
yay --aururl "https://aur.tuna.tsinghua.edu.cn" --save
```
修改的配置文件位于 `~/.config/yay/config.json` ,还可通过以下命令查看修改过的配置:
```
yay -P -g
```