Debian Codegraph @

upstream/opensuse-leap-16-1/man8/dnf5-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 "DNF5-DOWNLOAD" "8" "Apr 29, 2025" "" "dnf5"
31 .SH NAME
32 dnf5-download \- Download Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 download [options] <package\-spec>...\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBdownload\fP command in \fBDNF5\fP is used for downloading binary and source packages
39 defined in \fBpackage\-spec\fP arguments to the current working directory.
40 .SH OPTIONS
41 .INDENT 0.0
42 .TP
43 .B \fB\-\-arch\fP
44 .nf
45 Limit to packages of given architectures. This option can be used multiple times.
46 .fi
47 .sp
48 .TP
49 .B \fB\-\-resolve\fP
50 .nf
51 Resolve dependencies of specified packages and download missing ones.
52 .fi
53 .sp
54 .TP
55 .B \fB\-\-alldeps\fP
56 .nf
57 To be used together with \fB\-\-resolve\fP, it downloads all dependencies, not skipping the already installed ones.
58 .fi
59 .sp
60 .TP
61 .B \fB\-\-destdir=<path>\fP
62 .nf
63 Set directory used for downloading packages to. Default location is to the current working directory.
64 .fi
65 .sp
66 .TP
67 .B \fB\-\-skip\-unavailable\fP
68 .nf
69 Allow skipping packages that are not available in repositories. All available packages will be downloaded.
70 .fi
71 .sp
72 .TP
73 .B \fB\-\-srpm\fP
74 .nf
75 Download the source rpm. Enables source repositories of all enabled binary repositories.
76 .fi
77 .sp
78 .TP
79 .B \fB\-\-url\fP
80 .nf
81 Prints the list of URLs where the rpms can be downloaded instead of downloading.
82 .fi
83 .sp
84 .TP
85 .B \fB\-\-urlprotocol\fP
86 .nf
87 To be used together with \fB\-\-url\fP\&. It filters out the URLs to the specified protocols: \fBhttp\fP, \fBhttps\fP, \fBftp\fP, or \fBfile\fP\&. This option can be used multiple times.
88 .fi
89 .sp
90 .TP
91 .B \fB\-\-allmirrors\fP
92 .nf
93 To be used together with \fB\-\-url\fP\&. It prints out space\-separated URLs from all available mirrors for each package.
94 .fi
95 .sp
96 .UNINDENT
97 .SH EXAMPLES
98 .INDENT 0.0
99 .TP
100 .B \fBdnf5 download kernel\-headers\-0:5.17.0\-300.fc36.i686\fP
101 .nf
102 Download the \fBkernel\-headers\fP package using the full NEVRA format.
103 .fi
104 .sp
105 .TP
106 .B \fBdnf5 download rpm rpm\-devel\fP
107 .nf
108 Download all packages having the name of \fBrpm\fP or \fBrpm\-devel\fP\&.
109 .fi
110 .sp
111 .TP
112 .B \fBdnf5 download maven\-compiler\-plugin \-\-resolve \-\-alldeps\fP
113 .nf
114 Download the \fBmaven\-compiler\-plugin\fP package with all its dependencies.
115 .fi
116 .sp
117 .TP
118 .B \fBdnf5 download \-\-destdir /tmp/my_packages maven\-compiler\-plugin\fP
119 .nf
120 Download the \fBmaven\-compiler\-plugin\fP package to \fB/tmp/my_packages\fP directory.
121 .fi
122 .sp
123 .TP
124 .B \fBdnf5 download \-\-url \-\-urlprotocol http python\fP
125 .nf
126 List the http URL to download the python package.
127 .fi
128 .sp
129 .TP
130 .B \fBdnf5 download python \-\-arch x86_64\fP
131 .nf
132 Downloads python with the \fBx86_64\fP architecture.
133 .fi
134 .sp
135 .TP
136 .B \fBdnf5 download dnf5 \-\-srpm\fP
137 .nf
138 Download the \fBdnf5\fP source rpm.
139 .fi
140 .sp
141 .UNINDENT
142 .SH SEE ALSO
143 .INDENT 0.0
144 .INDENT 3.5
145 .nf
146 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
147 .fi
148 .sp
149 .UNINDENT
150 .UNINDENT
151 .SH AUTHOR
152 See AUTHORS.md in dnf5 source distribution.
153 .SH COPYRIGHT
154 Contributors to the dnf5 project.
155 .\" Generated by docutils manpage writer.
156 .