Debian Codegraph @

upstream/opensuse-leap-16-1/man8/dnf5-install.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-INSTALL" "8" "Apr 29, 2025" "" "dnf5"
31 .SH NAME
32 dnf5-install \- Install Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 install [options] <package\-spec>|@<group\-spec>|@<environment\-spec>...\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBinstall\fP command in \fBDNF5\fP is used for installing packages, groups or environments.
39 .sp
40 When installing packages defined in \fBpackage\-spec\fP arguments, \fBDNF5\fP ensures that the packages
41 and their dependencies are installed on the system.
42 If the specified packages are already installed, DNF5 does not check their dependencies again and
43 simply verifies that the packages themselves are present.
44 .sp
45 When installing groups defined in \fBgroup\-spec\fP arguments, \fBDNF5\fP ensures that the groups and
46 their packages are installed on the system. Installs only group packages matching configured package
47 type. See \fBdnf5\-conf(5)\fP, \fI\%group_package_types\fP\&.
48 .sp
49 When installing environments defined in \fBenvironment\-spec\fP arguments, \fBDNF5\fP ensures that the
50 environments and their groups are installed on the system.
51 .SH OPTIONS
52 .INDENT 0.0
53 .TP
54 .B \fB\-\-allowerasing\fP
55 .nf
56 Allow removing of installed packages to resolve any potential dependency problems.
57 .fi
58 .sp
59 .TP
60 .B \fB\-\-skip\-broken\fP
61 .nf
62 Resolve any dependency problems by removing packages that are causing problems from the transaction.
63 .fi
64 .sp
65 .TP
66 .B \fB\-\-skip\-unavailable\fP
67 .nf
68 Allow skipping packages that are not available in repositories. All available packages will be installed.
69 .fi
70 .sp
71 .TP
72 .B \fB\-\-allow\-downgrade\fP
73 .nf
74 Enable downgrade of dependencies when resolving the requested operation.
75 .fi
76 .sp
77 .TP
78 .B \fB\-\-no\-allow\-downgrade\fP
79 .nf
80 Disable downgrade of dependencies when resolving the requested operation.
81 .fi
82 .sp
83 .TP
84 .B \fB\-\-downloadonly\fP
85 .nf
86 Download the resolved package set without executing an RPM transaction.
87 .fi
88 .sp
89 .TP
90 .B \fB\-\-offline\fP
91 .nf
92 Store the transaction to be performed offline. See \fBdnf5\-offline(8)\fP, \fI\%Offline command\fP\&.
93 .fi
94 .sp
95 .TP
96 .B \fB\-\-advisories=ADVISORY_NAME,...\fP
97 .nf
98 Consider only content contained in advisories with specified name.
99 This is a list option.
100 Expected values are advisory IDs, e.g. \fIFEDORA\-2201\-123\fP\&.
101 .fi
102 .sp
103 .TP
104 .B \fB\-\-advisory\-severities=ADVISORY_SEVERITY,...\fP
105 .nf
106 Consider only content contained in advisories with specified severity.
107 This is a list option.
108 Accepted values are: \fIcritical\fP, \fIimportant\fP, \fImoderate\fP, \fIlow\fP, \fInone\fP\&.
109 .fi
110 .sp
111 .TP
112 .B \fB\-\-bzs=BUGZILLA_ID,...\fP
113 .nf
114 Consider only content contained in advisories that fix a ticket of given Bugzilla ID.
115 This is a list option.
116 Expected values are numeric IDs, e.g. \fI123123\fP\&.
117 .fi
118 .sp
119 .TP
120 .B \fB\-\-cves=CVE_ID,...\fP
121 .nf
122 Consider only content contained in advisories that fix a ticket of given CVE (Common Vulnerabilities and Exposures) ID.
123 This is a list option.
124 Expected values are string IDs in CVE format, e.g. \fICVE\-2201\-0123\fP\&.
125 .fi
126 .sp
127 .TP
128 .B \fB\-\-security\fP
129 .nf
130 Consider only content contained in security advisories.
131 .fi
132 .sp
133 .TP
134 .B \fB\-\-bugfix\fP
135 .nf
136 Consider only content contained in bugfix advisories.
137 .fi
138 .sp
139 .TP
140 .B \fB\-\-enhancement\fP
141 .nf
142 Consider only content contained in enhancement advisories.
143 .fi
144 .sp
145 .TP
146 .B \fB\-\-newpackage\fP
147 .nf
148 Consider only content contained in newpackage advisories.
149 .fi
150 .sp
151 .UNINDENT
152 .SH EXAMPLES
153 .INDENT 0.0
154 .TP
155 .B \fBdnf5 install tito\fP
156 .nf
157 Install the \fBtito\fP package.
158 .fi
159 .sp
160 .TP
161 .B \fBdnf5 install ~/Downloads/tito\-0.6.21\-1.fc36.noarch.rpm\fP
162 .nf
163 Install the local rpm file from the given location.
164 .fi
165 .sp
166 .TP
167 .B \fBdnf5 install tito\-0.6.21\-1.fc36\fP
168 .nf
169 Install the \fBtito\fP package in defined version.
170 If the package is already installed, it will automatically try to downgrade or upgrade to the given version.
171 .fi
172 .sp
173 .TP
174 .B \fBdnf5 install \-\-advisory=FEDORA\-2022\-07aa56297a \e*\fP
175 .nf
176 Install all the packages that belong to the \fBFEDORA\-2022\-07aa56297a\fP advisory.
177 .fi
178 .sp
179 .UNINDENT
180 .SH SEE ALSO
181 .INDENT 0.0
182 .INDENT 3.5
183 .nf
184 \fBdnf5\-advisory(8)\fP, \fI\%Advisory command\fP
185 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
186 .fi
187 .sp
188 .UNINDENT
189 .UNINDENT
190 .SH AUTHOR
191 See AUTHORS.md in dnf5 source distribution.
192 .SH COPYRIGHT
193 Contributors to the dnf5 project.
194 .\" Generated by docutils manpage writer.
195 .