mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
apk: add page (#1978)
This commit is contained in:
parent
157fdc0251
commit
1935f3a1bc
1 changed files with 27 additions and 0 deletions
27
pages/linux/apk.md
Normal file
27
pages/linux/apk.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue