2018-02-08 08:09:45 +00:00
|
|
|
# apk
|
|
|
|
|
|
|
|
> Alpine Linux package management tool.
|
2021-07-09 15:45:55 +01:00
|
|
|
> 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}}`
|
|
|
|
|
|
|
|
- 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}}`
|