2025-03-14 21:59:59 -06:00
|
|
|
# aurman
|
|
|
|
|
|
|
|
|
|
> 用来构建和安装 AUR 包的 Arch Linux 实用工具。
|
2026-02-18 06:55:01 -07:00
|
|
|
> 另请参阅:`pacman`。
|
|
|
|
|
> 更多信息:<https://github.com/polygamma/aurman#syntax>。
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 同步并更新所有包:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`aurman {{[-S|--sync]}} {{[-y|--refresh]}} {{[-u|--sysupgrade]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 同步并更新所有包但不显示 `PKGBUILD` 文件的变动:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`aurman {{[-S|--sync]}} {{[-y|--refresh]}} {{[-u|--sysupgrade]}} --noedit`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 安装一个新包:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`aurman {{[-S|--sync]}} {{包名}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 安装一个新包但不显示 `PKGBUILD` 文件的变动:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`aurman {{[-S|--sync]}} --noedit {{包名}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 无确认提示安装一个新包:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`aurman {{[-S|--sync]}} --noedit --noconfirm {{包名}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 在官方仓库和 AUR 的包数据库中查找关键字:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`aurman {{[-S|--sync]}} {{[-s|--search]}} {{关键字}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 移除一个包及其依赖:
|
|
|
|
|
|
|
|
|
|
`aurman --remove --recursive --nosave {{包名}}`
|
|
|
|
|
|
|
|
|
|
- 清除包缓存(用两次 `--clean` 参数清除所有包缓存):
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`aurman {{[-S|--sync]}} {{[-c|--clean]}}`
|