tldr/pages/linux/apk.md

29 lines
534 B
Markdown
Raw Normal View History

2018-02-08 08:09:45 +00:00
# apk
> Alpine Linux package management tool.
> More information: <https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management>.
2018-02-08 08:09:45 +00:00
- Update repository indexes from all remote repositories:
`apk update`
- Install a new package:
`apk add {{package}}`
- Remove a package:
`apk del {{package}}`
2022-10-20 17:16:15 +01:00
- Repair a package or upgrade it without modifying main dependencies:
2018-02-08 08:09:45 +00:00
`apk fix {{package}}`
2022-10-20 17:16:15 +01:00
- Search for a package via keywords:
2018-02-08 08:09:45 +00:00
2022-10-20 17:16:15 +01:00
`apk search {{keywords}}`
2018-02-08 08:09:45 +00:00
2022-10-20 17:16:15 +01:00
- Display information about a specific package:
2018-02-08 08:09:45 +00:00
`apk info {{package}}`