.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5-DOWNLOAD" "8" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-download \- Download Command .SH SYNOPSIS .sp \fBdnf5 download [options] ...\fP .SH DESCRIPTION .sp The \fBdownload\fP command in \fBDNF5\fP is used for downloading binary and source packages defined in \fBpackage\-spec\fP arguments to the current working directory. .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-arch\fP .nf Limit to packages of given architectures. This option can be used multiple times. .fi .sp .TP .B \fB\-\-resolve\fP .nf Resolve dependencies of specified packages and download missing ones. .fi .sp .TP .B \fB\-\-alldeps\fP .nf To be used together with \fB\-\-resolve\fP, it downloads all dependencies, not skipping the already installed ones. .fi .sp .TP .B \fB\-\-destdir=\fP .nf Set directory used for downloading packages to. Default location is to the current working directory. .fi .sp .TP .B \fB\-\-srpm\fP .nf Download the source rpm. Enables source repositories of all enabled binary repositories. .fi .sp .TP .B \fB\-\-url\fP .nf Prints the list of URLs where the rpms can be downloaded instead of downloading. .fi .sp .TP .B \fB\-\-urlprotocol\fP .nf 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. .fi .sp .TP .B \fB\-\-allmirrors\fP .nf To be used together with \fB\-\-url\fP\&. It prints out space\-separated URLs from all available mirrors for each package. .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 download kernel\-headers\-0:5.17.0\-300.fc36.i686\fP .nf Download the \fBkernel\-headers\fP package using the full NEVRA format. .fi .sp .TP .B \fBdnf5 download rpm rpm\-devel\fP .nf Download all packages having the name of \fBrpm\fP or \fBrpm\-devel\fP\&. .fi .sp .TP .B \fBdnf5 download maven\-compiler\-plugin \-\-resolve \-\-alldeps\fP .nf Download the \fBmaven\-compiler\-plugin\fP package with all its dependencies. .fi .sp .TP .B \fBdnf5 download \-\-destdir /tmp/my_packages maven\-compiler\-plugin\fP .nf Download the \fBmaven\-compiler\-plugin\fP package to \fB/tmp/my_packages\fP directory. .fi .sp .TP .B \fBdnf5 download \-\-url \-\-urlprotocol http python\fP .nf List the http URL to download the python package. .fi .sp .TP .B \fBdnf5 download python \-\-arch x86_64\fP .nf Downloads python with the \fBx86_64\fP architecture. .fi .sp .TP .B \fBdnf5 download dnf5 \-\-srpm\fP .nf Download the \fBdnf5\fP source rpm. .fi .sp .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP .fi .sp .UNINDENT .UNINDENT .SH AUTHOR See AUTHORS.md in dnf5 source distribution. .SH COPYRIGHT Contributors to the dnf5 project. .\" Generated by docutils manpage writer. .