.\" 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-GROUP" "8" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-group \- Group Command .SH SYNOPSIS .sp \fBdnf5 group {list|info} [options] [...]\fP .sp \fBdnf5 group {install|remove|upgrade} [options] ...\fP .SH DESCRIPTION .sp The \fBgroup\fP command in \fBDNF5\fP offers several queries for getting information about groups, packages related to them and it is also used for groups installation. To query environments use separate \fBenvironment\fP command. Note: \fBdnf\-4\fP listed both environments and groups with the \fBgroup\fP command. .sp Optional \fBgroup\-spec\fP arguments could be passed to filter only groups with given names. .SH SUBCOMMANDS .INDENT 0.0 .TP .B \fBlist\fP List all matching groups, either among installed or available groups. If nothing is specified, list all known groups. \fB\-\-installed\fP and \fB\-\-available\fP options narrow down the requested list. If \fB\-\-hidden\fP option is used, also hidden groups are included in the list. .TP .B \fBinfo\fP Print detailed information about groups. The command accepts the same options as the \fBlist\fP subcommand. .TP .B \fBinstall\fP Mark the specified groups installed and install packages it contains. Also include optional packages of the group if the \fB\-\-with\-optional\fP option is specified. By default all \fIMandatory\fP and \fIDefault\fP packages will be installed whenever possible. \fIConditional\fP packages are installed if they meet their requirement. This can be configured by \fBdnf5\-conf(5)\fP, \fI\%group_package_types\fP\&. .sp If the group is already (partially) installed, the command installs the missing packages from the group. .sp If the \fB\-\-no\-packages\fP option is used, no new packages will be installed by this command. Only currently installed group packages are considered to be installed with the group. .TP .B \fBremove\fP Mark the group removed and remove those packages in the group from the system which do not belong to another installed group and were not installed explicitly by the user. .sp If the \fB\-\-no\-packages\fP option is used, no packages will be removed by this command. .TP .B \fBupgrade\fP Upgrade a definition of the specified group and the packages belonging to the group. If new packages have been added to the current definition of the group since the group was installed, the new packages will be installed. Likewise, if some packages have been removed from the group definition, the packages will be uninstalled unless they were installed for a different reason (e.g. explicitly installed by a user or implicitly installed as a dependency). .UNINDENT .SH OPTIONS FOR LIST AND INFO .INDENT 0.0 .TP .B \fB\-\-available\fP .nf Show only available groups. Those which are not installed, but known to \fBDNF5\fP\&. .fi .sp .TP .B \fB\-\-installed\fP .nf Show only installed groups. .fi .sp .TP .B \fB\-\-hidden\fP .nf Show also hidden groups. .fi .sp .TP .B \fB\-\-contains\-pkgs=PACKAGE_NAME,...\fP .nf Show only groups containing packages with specified names. List option, supports globs. .fi .sp .UNINDENT .SH OPTIONS FOR INSTALL, REMOVE AND UPGRADE .INDENT 0.0 .TP .B \fB\-\-with\-optional\fP .nf Include optional packages from the groups. Used with \fBinstall\fP command. .fi .sp .TP .B \fB\-\-no\-packages\fP .nf Operate exclusively on the groups without manipulating any packages. Used with \fBinstall\fP and \fBremove\fP commands. .fi .sp .TP .B \fB\-\-allowerasing\fP .nf Allow removing of installed packages to resolve any potential dependency problems. Used with \fBinstall\fP and \fBupgrade\fP commands. .fi .sp .TP .B \fB\-\-skip\-broken\fP .nf Resolve any dependency problems by removing packages that are causing problems from the transaction. Used with \fBinstall\fP command. .fi .sp .TP .B \fB\-\-skip\-unavailable\fP .nf Allow skipping packages that are not possible to install or upgrade. Used with \fBinstall\fP and \fBupgrade\fP commands. .fi .sp .TP .B \fB\-\-allow\-downgrade\fP .nf Enable downgrade of dependencies when resolving the requested operation. Used with \fBinstall\fP and \fBupgrade\fP commands. .fi .sp .TP .B \fB\-\-no\-allow\-downgrade\fP .nf Disable downgrade of dependencies when resolving the requested operation. Used with \fBinstall\fP and \fBupgrade\fP commands. .fi .sp .TP .B \fB\-\-downloadonly\fP .nf Download the resolved package set without executing an RPM transaction. Used with \fBinstall\fP and \fBupgrade\fP commands. .fi .sp .TP .B \fB\-\-offline\fP .nf Store the transaction to be performed offline. See \fBdnf5\-offline(8)\fP, \fI\%Offline command\fP\&. .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 group list \-\-hidden\fP .nf Show list of all groups, including hidden ones. .fi .sp .TP .B \fBdnf5 group info *xfce*\fP .nf Show detailed info about all groups related to \fBXfce\fP\&. .fi .sp .TP .B \fBdnf5 group install mysql \-\-with\-optional\fP .nf Install the \fBmysql\fP group including optional packages. .fi .sp .TP .B \fBdnf5 group upgrade mysql\fP .nf Bring packages of the \fBmysql\fP group to compliance with a current definition of the group. .fi .sp .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \fBdnf5\-comps(7)\fP, \fI\%Comps groups and environments\fP \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. .