apk_fetch — a remote package fetcher
apk_fetch [-fhlqRuv]
apkname
...
apk_fetch -u
The apk_fetch command downloads binary packages from remote sites. It can optionally download packages recursively through dependencies.
The following command line arguments are supported:
apknameSpecify a full apkname, a apkname without version or a full URI.
If a full URI is supplied, required packages are also fetched from
the same site when -R is specified.
-fDownload a package even if it is recorded as installed. By default, apk_fetch skips the packages which are recorded as installed.
-hShow help and exit.
-lList the available packages (without version) in repository index.
-qQuiet mode. Supress non-error messages.
-RDownload the packages required by the given packages as well.
-uUpdate the cached index.
-vTurn on verbose output.
APK_CACHE
Alternative location for the cached index file.
Default is $ROOT/var/lib/apk.
APK_DBDIR
Alternative location for the installed package database.
Default is $ROOT/var/db/apk.
APK_PATHList of URI's to remote package repository mirrors. The URI's are separated by a semicolon (;).
APKTOOLS_CONF
Configuration file for the apk-tools suite.
Default is /etc/apk.conf.
PACKAGES
Base directory where apk_fetch saves downloaded
packages. Default is $ROOT/var/cache/packages.
ROOT
Base directory for apk-tools. It is unset by default which
means that / is the base directory.