mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-11 01:10:31 +00:00
25 lines
511 B
Plaintext
25 lines
511 B
Plaintext
# apk
|
|
# Package management software for use in Alpine Linux
|
|
|
|
# Install a package, or upgrade an existing one.
|
|
apk add [PKG]
|
|
|
|
# Remove a package
|
|
apk del [PKG]
|
|
|
|
# Update index of available packages.
|
|
apk update
|
|
|
|
# Upgrade all installed packages.
|
|
apk upgrade
|
|
|
|
# Find package, using glob pattern matching.
|
|
apk search [PKG]
|
|
|
|
# List all installed packages.
|
|
apk info
|
|
|
|
# Determine to which package a file belongs, akin to `dpkg -S [PATH]` in
|
|
# Debian- and Ubuntu-based distributions of Linux.
|
|
apk info --who-owns [PATH]
|