apk-tools

the small and simple package manager

home : downloads : project :

Name

apk_fetch — a remote package fetcher

Synopsis

apk_fetch [-fhlqRuv] apkname ...

apk_fetch -u

DESCRIPTION

The apk_fetch command downloads binary packages from remote sites. It can optionally download packages recursively through dependencies.

OPTIONS

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.

ENVIRONMENT

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.

FILES

$ROOT/var/cache/packages

Default location to save downloaded files into.

$ROOT/var/db/apk

Default location for the installed package database.

$ROOT/var/lib/apk/INDEX.sha1.gz

The cached index file.

/etc/apk.conf

Default location of the apk-tools configuration file.

SEE ALSO

apk_add (1), apk.conf (5)

SourceForge.net Logo