Files
cheatsheet-tldr/tldr/linux/apk
2024-09-25 00:17:11 +00:00

34 lines
583 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# apk
> Alpine Linux package management tool.
> More information: <https://manned.org/apk>.
- Update repository indexes from all remote repositories:
`apk update`
- Install a new package:
`apk add {{package}}`
- Remove a package:
`apk del {{package}}`
- Repair a package or upgrade it without modifying main dependencies:
`apk fix {{package}}`
- Search for a package via keywords:
`apk search {{keywords}}`
- Display information about a specific package:
`apk info {{package}}`