mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-03 15:40:17 +00:00
24 lines
424 B
Plaintext
24 lines
424 B
Plaintext
# apk is the tool used to install, upgrade, or delete software on a running system
|
|
# 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
|