mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
help/AUR add steps for yay
This commit is contained in:
parent
befaa17357
commit
250613912a
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue