1DNF-DOWNLOAD(8) dnf-plugins-core DNF-DOWNLOAD(8)
2
3
4
6 dnf-download - 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 All general DNF options are accepted, see Options in dnf(8) for
21 details.
22
23 --help-cmd
24 Show this help.
25
26 --arch <arch>[,<arch>...]
27 Limit the query to packages of given architectures (default is
28 all compatible architectures with your system). To download
29 packages with arch incompatible with your system use
30 --forcearch=<arch> option to change basearch.
31
32 --source
33 Download the source rpm. Enables source repositories of all
34 enabled binary repositories.
35
36 --debuginfo
37 Download the debuginfo rpm. Enables debuginfo repositories of
38 all enabled binary repositories.
39
40 --downloaddir
41 Download directory, default is the current directory (the direc‐
42 tory must exist).
43
44 --url Instead of downloading, print list of urls where the rpms can be
45 downloaded.
46
47 --urlprotocol
48 Limit the protocol of the urls output by the --url option.
49 Options are http, https, rsync, ftp.
50
51 --resolve
52 Resolves dependencies of specified packages and downloads miss‐
53 ing dependencies in the system.
54
56 dnf download dnf
57 Download the latest dnf package to the current directory.
58
59 dnf download --url dnf
60 Just print the remote location url where the dnf rpm can be
61 downloaded from.
62
63 dnf download --url --urlprotocols=https --urlprotocols=rsync dnf
64 Same as above, but limit urls to https or rsync urls.
65
66 dnf download dnf --destdir /tmp/dnl
67 Download the latest dnf package to the /tmp/dnl directory (the
68 directory must exist).
69
70 dnf download dnf --source
71 Download the latest dnf source package to the current directory.
72
73 dnf download rpm --debuginfo
74 Download the latest rpm-debuginfo package to the current direc‐
75 tory.
76
77 dnf download btanks --resolve
78 Download the latest btanks package and the uninstalled dependen‐
79 cies to the current directory.
80
82 See AUTHORS in your Core DNF Plugins distribution
83
85 2019, Red Hat, Licensed under GPLv2+
86
87
88
89
904.0.12 Nov 29, 2019 DNF-DOWNLOAD(8)