NotePublic/Software/Applications/Yaourt/Yaourt_的使用.md

40 lines
854 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Yaourt 的使用
## 术语
AURArchlinux User-community Repository
ABSArchlinux Build System
## 使用
<https://aur.archlinux.org/packages> 搜索需要的软件包。再通过 makepkg 编译pacman 安装还是非常繁琐的Yaourt 提供了更加便捷的方式。输入:
```bash
yaourt <package name>
```
即可搜索到需要安装的软件包,之后输入选择序号,并按照提示一步步操作即可。
## 安装
yaourt 的安装方式为先 git 然后 makepkg 了
```bash
git clone https://aur.archlinux.org/package-query.git
cd package-query
makepkg -si
cd ..
git clone https://aur.archlinux.org/yaourt.git
cd yaourt
makepkg -si
cd ..
```
## 异常处理
出现“FAILED (unknown public key XXXXXXXXXXXX)”错误可使用 gpg 命令对该 key 进行授权:
```bash
gpg --recv-key XXXXXXXXXXXX
```