1DNF-DOWNLOAD(8)                dnf-plugins-core                DNF-DOWNLOAD(8)
2
3
4

NAME

6       dnf-download - DNF download Plugin
7
8       Download binary or source packages.
9

SYNOPSIS

11       dnf download [options] <pkg-spec>...
12

ARGUMENTS

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  op‐
17              tion or if you want to download the same RPM again.
18

OPTIONS

20       All  general  DNF  options  are accepted, see Options in dnf(8) for de‐
21       tails.
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 en‐
34              abled 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. Op‐
49              tions are http, https, rsync, ftp.
50
51       --resolve
52              Resolves dependencies of specified packages and downloads  miss‐
53              ing dependencies in the system.
54
55       --alldeps
56              When used with --resolve, download all dependencies (do not skip
57              already installed ones).
58

EXAMPLES

60       dnf download dnf
61              Download the latest dnf package to the current directory.
62
63       dnf download --url dnf
64              Just print the remote location url where  the  dnf  rpm  can  be
65              downloaded from.
66
67       dnf download --url --urlprotocols=https --urlprotocols=rsync dnf
68              Same as above, but limit urls to https or rsync urls.
69
70       dnf download dnf --destdir /tmp/dnl
71              Download  the  latest dnf package to the /tmp/dnl directory (the
72              directory must exist).
73
74       dnf download dnf --source
75              Download the latest dnf source package to the current directory.
76
77       dnf download rpm --debuginfo
78              Download the latest rpm-debuginfo package to the current  direc‐
79              tory.
80
81       dnf download btanks --resolve
82              Download the latest btanks package and the uninstalled dependen‐
83              cies to the current directory.
84

AUTHOR

86       See AUTHORS in your Core DNF Plugins distribution
87
89       2023, Red Hat, Licensed under GPLv2+
90
91
92
93
944.4.3                            Oct 06, 2023                  DNF-DOWNLOAD(8)
Impressum