Debian Codegraph @

upstream/opensuse-leap-16-1/man8/dnf5-group.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-GROUP" "8" "Apr 29, 2025" "" "dnf5"
31 .SH NAME
32 dnf5-group \- Group Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 group {list|info} [options] [<group\-spec>...]\fP
36 .sp
37 \fBdnf5 group {install|remove|upgrade} [options] <group\-spec>...\fP
38 .SH DESCRIPTION
39 .sp
40 The \fBgroup\fP command in \fBDNF5\fP offers several queries for getting information about groups, packages
41 related to them and it is also used for groups installation.
42 To query environments use separate \fBenvironment\fP command.
43 Note: \fBdnf\-4\fP listed both environments and groups with the \fBgroup\fP command.
44 .sp
45 Optional \fBgroup\-spec\fP arguments could be passed to filter only groups with given names.
46 .SH SUBCOMMANDS
47 .INDENT 0.0
48 .TP
49 .B \fBlist\fP
50 List all matching groups, either among installed or available groups. If
51 nothing is specified, list all known groups. \fB\-\-installed\fP and \fB\-\-available\fP
52 options narrow down the requested list. If \fB\-\-hidden\fP option is used, also
53 hidden groups are included in the list.
54 .TP
55 .B \fBinfo\fP
56 Print detailed information about groups.
57 The command accepts the same options as the \fBlist\fP subcommand.
58 .TP
59 .B \fBinstall\fP
60 Mark the specified groups installed and install packages it contains.
61 Also include optional packages of the group if the \fB\-\-with\-optional\fP option is
62 specified. By default all \fIMandatory\fP and \fIDefault\fP packages will be installed whenever
63 possible. \fIConditional\fP packages are installed if they meet their requirement. This can
64 be configured by \fBdnf5\-conf(5)\fP, \fI\%group_package_types\fP\&.
65 .sp
66 If the group is already (partially) installed, the command installs the missing
67 packages from the group.
68 .sp
69 If the \fB\-\-no\-packages\fP option is used, no new packages will be installed by
70 this command. Only currently installed group packages are considered to be installed
71 with the group.
72 .TP
73 .B \fBremove\fP
74 Mark the group removed and remove those packages in the group from the
75 system which do not belong to another installed group and were not installed
76 explicitly by the user.
77 .sp
78 If the \fB\-\-no\-packages\fP option is used, no packages will be removed by this
79 command.
80 .TP
81 .B \fBupgrade\fP
82 Upgrade a definition of the specified group and the packages belonging to
83 the group. If new packages have been added to the current definition of
84 the group since the group was installed, the new packages will be
85 installed. Likewise, if some packages have been removed from the group
86 definition, the packages will be uninstalled unless they were installed for
87 a different reason (e.g. explicitly installed by a user or implicitly
88 installed as a dependency).
89 .UNINDENT
90 .SH OPTIONS FOR LIST AND INFO
91 .INDENT 0.0
92 .TP
93 .B \fB\-\-available\fP
94 .nf
95 Show only available groups. Those which are not installed, but known to \fBDNF5\fP\&.
96 .fi
97 .sp
98 .TP
99 .B \fB\-\-installed\fP
100 .nf
101 Show only installed groups.
102 .fi
103 .sp
104 .TP
105 .B \fB\-\-hidden\fP
106 .nf
107 Show also hidden groups.
108 .fi
109 .sp
110 .TP
111 .B \fB\-\-contains\-pkgs=PACKAGE_NAME,...\fP
112 .nf
113 Show only groups containing packages with specified names. List option, supports globs.
114 .fi
115 .sp
116 .UNINDENT
117 .SH OPTIONS FOR INSTALL, REMOVE AND UPGRADE
118 .INDENT 0.0
119 .TP
120 .B \fB\-\-with\-optional\fP
121 .nf
122 Include optional packages from the groups.
123 Used with \fBinstall\fP command.
124 .fi
125 .sp
126 .TP
127 .B \fB\-\-no\-packages\fP
128 .nf
129 Operate exclusively on the groups without manipulating any packages.
130 Used with \fBinstall\fP and \fBremove\fP commands.
131 .fi
132 .sp
133 .TP
134 .B \fB\-\-allowerasing\fP
135 .nf
136 Allow removing of installed packages to resolve any potential dependency problems.
137 Used with \fBinstall\fP and \fBupgrade\fP commands.
138 .fi
139 .sp
140 .TP
141 .B \fB\-\-skip\-broken\fP
142 .nf
143 Resolve any dependency problems by removing packages that are causing problems from the transaction.
144 Used with \fBinstall\fP command.
145 .fi
146 .sp
147 .TP
148 .B \fB\-\-skip\-unavailable\fP
149 .nf
150 Allow skipping packages that are not possible to install or upgrade.
151 Used with \fBinstall\fP and \fBupgrade\fP commands.
152 .fi
153 .sp
154 .TP
155 .B \fB\-\-allow\-downgrade\fP
156 .nf
157 Enable downgrade of dependencies when resolving the requested operation.
158 Used with \fBinstall\fP and \fBupgrade\fP commands.
159 .fi
160 .sp
161 .TP
162 .B \fB\-\-no\-allow\-downgrade\fP
163 .nf
164 Disable downgrade of dependencies when resolving the requested operation.
165 Used with \fBinstall\fP and \fBupgrade\fP commands.
166 .fi
167 .sp
168 .TP
169 .B \fB\-\-downloadonly\fP
170 .nf
171 Download the resolved package set without executing an RPM transaction.
172 Used with \fBinstall\fP and \fBupgrade\fP commands.
173 .fi
174 .sp
175 .TP
176 .B \fB\-\-offline\fP
177 .nf
178 Store the transaction to be performed offline. See \fBdnf5\-offline(8)\fP, \fI\%Offline command\fP\&.
179 .fi
180 .sp
181 .UNINDENT
182 .SH EXAMPLES
183 .INDENT 0.0
184 .TP
185 .B \fBdnf5 group list \-\-hidden\fP
186 .nf
187 Show list of all groups, including hidden ones.
188 .fi
189 .sp
190 .TP
191 .B \fBdnf5 group info *xfce*\fP
192 .nf
193 Show detailed info about all groups related to \fBXfce\fP\&.
194 .fi
195 .sp
196 .TP
197 .B \fBdnf5 group install mysql \-\-with\-optional\fP
198 .nf
199 Install the \fBmysql\fP group including optional packages.
200 .fi
201 .sp
202 .TP
203 .B \fBdnf5 group upgrade mysql\fP
204 .nf
205 Bring packages of the \fBmysql\fP group to compliance with a current
206 definition of the group.
207 .fi
208 .sp
209 .UNINDENT
210 .SH SEE ALSO
211 .INDENT 0.0
212 .INDENT 3.5
213 .nf
214 \fBdnf5\-comps(7)\fP, \fI\%Comps groups and environments\fP
215 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
216 .fi
217 .sp
218 .UNINDENT
219 .UNINDENT
220 .SH AUTHOR
221 See AUTHORS.md in dnf5 source distribution.
222 .SH COPYRIGHT
223 Contributors to the dnf5 project.
224 .\" Generated by docutils manpage writer.
225 .