mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-26 04:31:31 +03:00
anbox, arch-chroot, archinstall, aurman: add Chinese translation (#6406)
* anbox: add Chinese translation * arch-chroot: add Chinese translation * archinstall: add Chinese translation * aurman: add Chinese translation
This commit is contained in:
parent
df5f5ac08f
commit
19e79cd10b
8
pages.zh/linux/anbox.md
Normal file
8
pages.zh/linux/anbox.md
Normal file
@ -0,0 +1,8 @@
|
||||
# anbox
|
||||
|
||||
> 在任何 GNU/Linux 操作系统上运行安卓应用。
|
||||
> 更多信息:<https://manned.org/anbox>.
|
||||
|
||||
- 在应用管理器中运行 Anbox:
|
||||
|
||||
`anbox launch --package={{org.anbox.appmgr}} --component={{org.anbox.appmgr.AppViewActivity}}`
|
20
pages.zh/linux/arch-chroot.md
Normal file
20
pages.zh/linux/arch-chroot.md
Normal file
@ -0,0 +1,20 @@
|
||||
# arch-chroot
|
||||
|
||||
> 辅助 Arch Linux 安装流程的更强 `chroot` 命令。
|
||||
> 更多信息:<https://man.archlinux.org/man/arch-chroot.8>.
|
||||
|
||||
- 在新的根目录下开启一个交互外壳程序(默认是 `bash`):
|
||||
|
||||
`arch-chroot {{新根目录}}`
|
||||
|
||||
- 指定除当前用户外的其他用户来运行外壳程序:
|
||||
|
||||
`arch-chroot -u {{用户名}} {{新根目录}}`
|
||||
|
||||
- 在新的根目录下运行一个自定义命令(取代默认的 `bash`):
|
||||
|
||||
`arch-chroot {{新根目录}} {{命令}} {{命令参数}}`
|
||||
|
||||
- 指定除默认的 `bash` 以外的外壳程序(以下例子需要现在目标系统中先安装 `zsh`):
|
||||
|
||||
`arch-chroot {{新根目录}} {{zsh}}`
|
12
pages.zh/linux/archinstall.md
Normal file
12
pages.zh/linux/archinstall.md
Normal file
@ -0,0 +1,12 @@
|
||||
# archinstall
|
||||
|
||||
> Arch Linux 引导安装程序。
|
||||
> 更多信息:<https://archinstall.readthedocs.io>.
|
||||
|
||||
- 启动交互式的安装程序:
|
||||
|
||||
`archinstall`
|
||||
|
||||
- 启动一个预设的安装程序:
|
||||
|
||||
`archinstall {{minimal|unattended}}`
|
37
pages.zh/linux/aurman.md
Normal file
37
pages.zh/linux/aurman.md
Normal file
@ -0,0 +1,37 @@
|
||||
# aurman
|
||||
|
||||
> 用来构建和安装 AUR 包的 Arch Linux 实用工具。
|
||||
> 参见 `pacman`.
|
||||
> 更多信息:<https://github.com/polygamma/aurman>.
|
||||
|
||||
- 同步并更新所有包:
|
||||
|
||||
`aurman --sync --refresh --sysupgrade`
|
||||
|
||||
- 同步并更新所有包但不显示 `PKGBUILD` 文件的变动:
|
||||
|
||||
`aurman --sync --refresh --sysupgrade --noedit`
|
||||
|
||||
- 安装一个新包:
|
||||
|
||||
`aurman --sync {{包名}}`
|
||||
|
||||
- 安装一个新包但不显示 `PKGBUILD` 文件的变动:
|
||||
|
||||
`aurman --sync --noedit {{包名}}`
|
||||
|
||||
- 无确认提示安装一个新包:
|
||||
|
||||
`aurman --sync --noedit --noconfirm {{包名}}`
|
||||
|
||||
- 在官方仓库和 AUR 的包数据库中查找关键字:
|
||||
|
||||
`aurman --sync --search {{关键字}}`
|
||||
|
||||
- 移除一个包及其依赖:
|
||||
|
||||
`aurman --remove --recursive --nosave {{包名}}`
|
||||
|
||||
- 清除包缓存(用两次 `--clean` 参数清除所有包缓存):
|
||||
|
||||
`aurman --sync --clean`
|
Loading…
Reference in New Issue
Block a user