Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archlinux 中什么是 AUR? 有哪些 AUR 包管理工具? #20

Open
xiaozefeng opened this issue Jun 8, 2019 · 1 comment
Open

archlinux 中什么是 AUR? 有哪些 AUR 包管理工具? #20

xiaozefeng opened this issue Jun 8, 2019 · 1 comment

Comments

@xiaozefeng
Copy link
Owner

No description provided.

@xiaozefeng xiaozefeng changed the title archlinux archlinux 中什么是 AUR? 有哪些 AUR 包管理工具? Jun 8, 2019
@xiaozefeng
Copy link
Owner Author

AUR : Arch User Repository 即: Arch Linux 用户仓库, 是为用户而建、由用户主导的 Arch 软件仓库。

AUR 中的软件包以软件包生成脚本(PKGBUILD)的形式提供,用户自己通过 makepkg 生成包,再由 pacman 安装。创建 AUR 的初衷是方便用户维护和分享新软件包,并由官方定期从中挑选软件包进入 community 仓库。

具体可以参照 官方 wiki , 比我说的清楚
AUR

yay 跟 yaourt 都是 AUR 的包管理工具,他们的原理也是从 AUR 下载 PKGBUILD,然后进行 makepkg -si
来安装
这里说一下怎么安装 yay 或者 yaourt

vim /etc/pacman.conf
# 添加到文件最后
[archlinuxcn]
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch

保存后执行安装

pacman -Syy
pacman -S yay yaourt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant