mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-15 06:12:59 +00:00
24 lines
423 B
Plaintext
24 lines
423 B
Plaintext
# apk is the tool used to install, upgrade, or delete software on a running sytem
|
|
# of Alpine Linux package management
|
|
|
|
# Install a package
|
|
apk add $package
|
|
|
|
# Remove a package
|
|
apk del $package
|
|
|
|
# Update repos
|
|
apk update
|
|
|
|
# Upgrade all packages
|
|
apk upgrade
|
|
|
|
# Find a package
|
|
apk search $package
|
|
|
|
# To list all installed packages, use:
|
|
apk info
|
|
|
|
# To determine which package a file belongs to:
|
|
apk info --who-owns /sbin/lbu
|