mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 20:52:39 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
33
tldr/linux/apk
Normal file
33
tldr/linux/apk
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# apk
|
||||
|
||||
> Alpine Linux package management tool.
|
||||
> More information: <https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user