From 250613912a36462b82c9da36cd4040b7f91d9de4 Mon Sep 17 00:00:00 2001 From: Jiachen YANG Date: Wed, 22 May 2019 15:09:17 +0900 Subject: [PATCH] help/AUR add steps for yay --- _posts/help/1970-01-01-AUR.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 +```