apk-fetch.8.scd 1019 Bytes
Newer Older
Drew DeVault's avatar
Drew DeVault committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
apk-fetch(8)

# NAME

apk fetch - download packages from global repositories to a local directory

# SYNOPSIS

*apk fetch* [<_options_>...] _packages_...

# DESCRIPTION

*apk fetch* downloads the requested packages from the configured package
repositories (see *apk-repositories*(5)) to a local directory. The current
working directory is used as the destination directory unless *-o* is
specified.

# OPTIONS

*-L, --link*
	Create hard links if possible.

*-o, --output* _DIR_
	Write the downloaded file(s) to _DIR_.

*-R, --recursive*
	Fetch packages and all of their dependencies.

*-s, --stdout*
	Dump the .apk file(s) to stdout.

	*Note*: this option is incompatible with *-o*, *-R*, and the global
	*--progress* option.

*--simulate*
	Simulate the requested operation without making any changes.

38 39 40
	*Note*: this option is unreliable if needed indexes are not up-to-date
	as this omits refresing or downloading of missing indexes.

Drew DeVault's avatar
Drew DeVault committed
41 42 43
# AUTHORS

Natanael Copa <ncopa@alpinelinux.org>++
44
Timo Teräs <timo.teras@iki.fi>