Debian Codegraph @

upstream/debian-unstable/man8/dnf4-download.8

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "DNF4-DOWNLOAD" "8" "Sep 27, 2025" "4.10.1" "dnf-plugins-core"
31 .SH NAME
32 dnf4-download \- DNF download Plugin
33 .sp
34 Download binary or source packages.
35 .SH SYNOPSIS
36 .sp
37 \fBdnf download [options] <pkg\-spec>...\fP
38 .SH ARGUMENTS
39 .INDENT 0.0
40 .TP
41 .B \fB<pkg\-spec>\fP
42 Package specification for the package to download.
43 Local RPMs can be specified as well. This is useful with the \fB\-\-source\fP
44 option or if you want to download the same RPM again.
45 .UNINDENT
46 .SH OPTIONS
47 .sp
48 All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
49 .INDENT 0.0
50 .TP
51 .B \fB\-\-help\-cmd\fP
52 Show this help.
53 .TP
54 .B \fB\-\-arch <arch>[,<arch>...]\fP
55 Limit the query to packages of given architectures (default is all compatible architectures with
56 your system). To download packages with arch incompatible with your system use
57 \fB\-\-forcearch=<arch>\fP option to change basearch.
58 .TP
59 .B \fB\-\-source\fP
60 Download the source rpm. Enables source repositories of all enabled binary repositories.
61 .TP
62 .B \fB\-\-debuginfo\fP
63 Download the debuginfo rpm. Enables debuginfo repositories of all enabled binary repositories.
64 .TP
65 .B \fB\-\-downloaddir\fP
66 Download directory, default is the current directory (the directory must exist).
67 .TP
68 .B \fB\-\-url\fP
69 Instead of downloading, print list of urls where the rpms can be downloaded.
70 .TP
71 .B \fB\-\-urlprotocol\fP
72 Limit the protocol of the urls output by the –url option. Options are http, https, rsync, ftp.
73 .TP
74 .B \fB\-\-resolve\fP
75 Resolves dependencies of specified packages and downloads missing dependencies in the system.
76 .TP
77 .B \fB\-\-alldeps\fP
78 When used with \fB\-\-resolve\fP, download all dependencies (do not skip already installed ones).
79 .UNINDENT
80 .SH EXAMPLES
81 .INDENT 0.0
82 .TP
83 .B \fBdnf download dnf\fP
84 Download the latest dnf package to the current directory.
85 .TP
86 .B \fBdnf download \-\-url dnf\fP
87 Just print the remote location url where the dnf rpm can be downloaded from.
88 .TP
89 .B \fBdnf download \-\-url \-\-urlprotocols=https \-\-urlprotocols=rsync dnf\fP
90 Same as above, but limit urls to https or rsync urls.
91 .TP
92 .B \fBdnf download dnf \-\-destdir /tmp/dnl\fP
93 Download the latest dnf package to the /tmp/dnl directory (the directory must exist).
94 .TP
95 .B \fBdnf download dnf \-\-source\fP
96 Download the latest dnf source package to the current directory.
97 .TP
98 .B \fBdnf download rpm \-\-debuginfo\fP
99 Download the latest rpm\-debuginfo package to the current directory.
100 .TP
101 .B \fBdnf download btanks \-\-resolve\fP
102 Download the latest btanks package and the uninstalled dependencies to the current directory.
103 .UNINDENT
104 .SH AUTHOR
105 See AUTHORS in your Core DNF Plugins distribution
106 .SH COPYRIGHT
107 2014, Red Hat, Licensed under GPLv2+
108 .\" Generated by docutils manpage writer.
109 .