Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   yumdownloader    ( 1 )

скачать RPM-пакеты из репозиториев Yum (download RPM packages from Yum repositories)

Имя (Name)

yumdownloader - download RPM packages from Yum repositories


Синопсис (Synopsis)

yumdownloader [options] package1 [package2...]


Описание (Description)

yumdownloader is a program for downloading RPMs from Yum repositories.


Общие настройки (General options)

-h, --help Help; display a help message and then quit.

--destdir DIR Specify a destination directory for the download. Defaults to the current directory.

--urls Instead of downloading RPMs, list the URLs that would be downloaded.

--resolve When downloading RPMs, resolve dependencies and also download the required packages.

--source Instead of downloading the binary RPMs, download the source RPMs.

--archlist=ARCH1[,ARCH2...] Limit the query to packages of given and compatible architectures. Valid values are all architectures known to rpm/yum such as 'i386' and 'src' for source RPMS. Note that repoquery will now change yum's "arch" to the first value in the archlist. So "--archlist=i386,i686" will change yum's canonical arch to i386, but allow packages of i386 and i686.


ADDITIONAL OPTIONS

Yumdownloader inherits all other options from yum. See the yum(8) man page for more information


Примеры (Examples)

Download the kernel RPM to /var/tmp:
              yumdownloader --destdir /var/tmp kernel

List the URL for the kernel and kernel-smp RPMs: yumdownloader --urls kernel kernel-smp


Файлы (Files)

As yumdownloader uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which repositories to use. Consult YUM documentation for details:

/etc/yum.conf /etc/yum/repos.d/ /var/cache/yum/


Смотри также (See also)

yum.conf(5) http://yum.baseurl.org/