1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/linux/apk.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

419 B

apk

Alpine Linux 的包管理工具.

  • 从所有的远程仓库中更新仓库索引:

apk update

  • 安装一个新软件包:

apk add {{软件包}}

  • 移除一个软件包:

apk del {{软件包}}

  • 修复或更新软件包而不修改主依赖项:

apk fix {{软件包}}

  • 通过关键字查找软件包:

apk search {{关键字}}

  • 获取指定软件包的相关信息:

apk info {{软件包}}