diff --git a/_posts/help/1970-01-01-AUR.md b/_posts/help/1970-01-01-AUR.md index 0348945..c141a41 100644 --- a/_posts/help/1970-01-01-AUR.md +++ b/_posts/help/1970-01-01-AUR.md @@ -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 +```