Debian Codegraph @

upstream/opensuse-tumbleweed/man8/dnf4-download.8

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