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:
apkname
Specify 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.
-f
Download a package even if it is recorded as installed. By default, apk_fetch skips the packages which are recorded as installed.
-h
Show help and exit.
-l
List the available packages (without version) in repository index.
-q
Quiet mode. Supress non-error messages.
-R
Download the packages required by the given packages as well.
-u
Update the cached index.
-v
Turn 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_PATH
List 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.