1YUMDOWNLOADER(1) dnf-plugins-core YUMDOWNLOADER(1)
2
3
4
6 yumdownloader - redirecting to DNF download Plugin
7
8 Download binary or source packages.
9
11 dnf download [options] <pkg-spec>...
12
14 <pkg-spec>
15 Package specification for the package to download. Local RPMs
16 can be specified as well. This is useful with the --source
17 option or if you want to download the same RPM again.
18
20 --help-cmd
21 Show this help.
22
23 --arch <arch>[,<arch>...]
24 Limit the query to packages of given architectures (default is
25 all compatible architectures with your system). To download
26 packages with arch incompatible with your system use
27 --forcearch=<arch> option to change basearch.
28
29 --source
30 Download the source rpm. Enables source repositories of all
31 enabled binary repositories.
32
33 --debuginfo
34 Download the debuginfo rpm. Enables debuginfo repositories of
35 all enabled binary repositories.
36
37 --downloaddir
38 Download directory, default is the current directory (the direc‐
39 tory must exist).
40
41 --url Instead of downloading, print list of urls where the rpms can be
42 downloaded.
43
44 --urlprotocol
45 Limit the protocol of the urls output by the --url option.
46 Options are http, https, rsync, ftp.
47
48 --resolve
49 Resolves dependencies of specified packages and downloads miss‐
50 ing dependencies in the system.
51
53 dnf download dnf
54 Download the latest dnf package to the current directory.
55
56 dnf download --url dnf
57 Just print the remote location url where the dnf rpm can be
58 downloaded from.
59
60 dnf download --url --urlprotocols=https --urlprotocols=rsync dnf
61 Same as above, but limit urls to https or rsync urls.
62
63 dnf download dnf --destdir /tmp/dnl
64 Download the latest dnf package to the /tmp/dnl directory (the
65 directory must exist).
66
67 dnf download dnf --source
68 Download the latest dnf source package to the current directory.
69
70 dnf download rpm --debuginfo
71 Download the latest rpm-debuginfo package to the current direc‐
72 tory.
73
74 dnf download btanks --resolve
75 Download the latest btanks package and the uninstalled dependen‐
76 cies to the current directory.
77
79 See AUTHORS in your Core DNF Plugins distribution
80
82 2014, Red Hat, Licensed under GPLv2+
83
84
85
86
874.0.2.2 May 14, 2019 YUMDOWNLOADER(1)