apk package manager

APK is the package manager originally developed by Alpine Linux and used on OpenWrt development snapshots. Note it has nothing to do with Android or other systems that may use the same acronym.

Useful references:

FIXME Needs some info about OpenWrt's apk version 3, whereas Alpine Linux still using apk version 2, so there internal/external differences etc.

Executing the command

apk update

will update the package database from a list of repositories that you can view with the command

cat /etc/apk/repositories.d/distfeeds.list

In that file, lines starting with # are comments; the rest are URLs pointing to package databases, typically under https://downloads.openwrt.org/snapshots/targets/

Once the database of available packages has been updated, you can execute the command

apk upgrade

to upgrade all installed packages that are not up to date.

Local repositories

  • apk adbdump produces non-standard YAML in certain edge cases. If you run into this, please report it here.
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2025/03/09 08:47
  • by dr-m