mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 22:51:13 +03:00
28 lines
424 B
Markdown
28 lines
424 B
Markdown
|
# apk
|
||
|
|
||
|
> Alpine Linux package management tool.
|
||
|
|
||
|
- Update repository indexes from all remote repositories:
|
||
|
|
||
|
`apk update`
|
||
|
|
||
|
- Install a new package:
|
||
|
|
||
|
`apk add {{package}}`
|
||
|
|
||
|
- Remove a package:
|
||
|
|
||
|
`apk del {{package}}`
|
||
|
|
||
|
- Repair package or upgrade it without modifying main dependencies:
|
||
|
|
||
|
`apk fix {{package}}`
|
||
|
|
||
|
- Search package via keyword:
|
||
|
|
||
|
`apk search {{keyword}}`
|
||
|
|
||
|
- Get info about a specific package:
|
||
|
|
||
|
`apk info {{package}}`
|