.\" urpm-downloader .TH "urpm-downloader" "1" "21 December 2011" "Anton Kirilenko" "" .SH "NAME" urpm-downloader - download RPMs from URPM-based linux repositories .SH "SYNOPSIS" \fBurpm-downloader\fP [options] package(s) .SH "DESCRIPTION" .PP \fBurpm-downloader\fP is a tool for downloading RPMs and SRPMs from URPM-based linux repositories .PP \fBpackage\fP Package name(s) to download. It can contain not only package names, but (S)RPM files too. In this case package name extracted from this file will be used .PP .SH "GENERAL OPTIONS" .IP "\fB\-h, \-\-help\fP" Help; display a help message and then quit. .IP "\fB\-\-version\fP" Report program version and exit. .IP "\fB\-\-dest\-dir\fP" Specify a destination directory for the download. .IP "\fB\-v, \-\-verbose\fP" Verbose (print additional info) .IP "\fB-q, \-\-quiet\fP" Quiet operation .IP "\fB\-\-include\-media, \-\-media\fP" Use only selected URPM media .IP "\fB\-\-exclude\-media\fP" Do not use selected URPM media .IP "\fB\-\-fail\-broken\fP" Exit if fail to resolve package dependencies. .IP "\fB\-i, \-\-ignore-errors\fP" Try to continue when error occurs .PP .SH "DOWNLOAD OPTIONS" .IP "\fB\-s, \-\-source\fP" Download the source RPMs (SRPMs) .IP "\fB\-u, \-\-urls\fP" Instead of downloading files, list the URLs that would be processed .IP "\fB\-b, \-\-binary\fP" Download binary RPMs .IP "\fB\-s, \-\-source\fP" Download the source RPMs (SRPMs) .IP "\fB\-d, \-\-debug-info \fP" Download debug RPMs .IP "\fB\-r, \-\-resolve\fP" When downloading RPMs, resolve dependencies and also download the required packages, if they are not already installed .IP "\fB\-a, \-\-resolve\-all\fP" When downloading RPMs, resolve dependencies and also download the required packages, even if they are already installed .IP "\fB\-x, \-\-exclude\-packages\fP" Exclude package(s) by regex .IP "\fB\-o, \-\-overwrite\fP" If the file already exists, download it again and overwrite the old one .IP "\fB\-\-all\-alternatives\fP" If package dependency can be satisfied by several packages, download all of them (by default, only the first one is downloaded) .IP "\fB\-\-all\-versions\fP" If different versions of package present in repository, process them all .PP .SH "EXAMPLES" .IP "Download RPMs for given packages (pk1, pk2, ...) into the directory 'path':" \fBurpm-downloader --dest-dir path pkg1 pkg2\fP .IP "Download SRPMs for given packages (pk1, pk2, ...) into the current directory:" \fBurpm-downloader -s pkg1 pkg2\fP .IP "Download the package with a whole dependency tree to the specified directory:" \fBurpm-downloader -a --dest-dir path package-name\fP .IP "You want to rebuild existing rpm. Download corresponding SRPM and all the packages missing for building:" \fBurpm-downloader -sr --dest-dir path package.rpm\fP .PP .SH "EXIT CODES" .IP \fB0\fP Completed successfully .IP \fB1\fP Error calling external command (urpmq, rpm, etc.). This command output will be printed before exit .IP \fB2\fP Can not download SRPM .IP \fB3\fP Can not download RPM .IP \fB4\fP One or more specified rpm files not exist .PP .SH "AUTHORS" .nf See the Authors file included with this program. .fi