2019-01-15 14:32:44 +08:00
|
|
|
|
# Yaourt 的使用
|
|
|
|
|
|
|
|
|
|
## 术语
|
|
|
|
|
|
2019-01-15 14:32:58 +08:00
|
|
|
|
AUR:Archlinux User-community Repository
|
2019-01-15 14:32:44 +08:00
|
|
|
|
ABS:Archlinux Build System
|
|
|
|
|
|
|
|
|
|
## 使用
|
|
|
|
|
|
|
|
|
|
到 <https://aur.archlinux.org/packages> 搜索需要的软件包。再通过 makepkg 编译,pacman 安装还是非常繁琐的,Yaourt 提供了更加便捷的方式。输入:
|
|
|
|
|
|
2019-08-02 22:16:13 +08:00
|
|
|
|
```sh
|
|
|
|
|
yaourt <package name>
|
|
|
|
|
```
|
2019-01-15 14:32:44 +08:00
|
|
|
|
|
|
|
|
|
即可搜索到需要安装的软件包,之后输入选择序号,并按照提示一步步操作即可。
|
2019-08-02 22:16:13 +08:00
|
|
|
|
|
|
|
|
|
## 安装
|
|
|
|
|
|
|
|
|
|
yaourt 的安装方式为先 git 然后 makepkg 了
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
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 ..
|
|
|
|
|
```
|