1DNF5-GROUP(8) dnf5 DNF5-GROUP(8)
2
3
4
6 dnf5-group - Group Command
7
9 dnf5 group {list|info} [options] [<group-spec>...]
10
11 dnf5 group {install|remove|upgrade} [options] <group-spec>...
12
14 The group command in DNF5 offers several queries for getting informa‐
15 tion about groups, packages related to them and it is also used for
16 groups installation.
17
18 Optional group-spec arguments could be passed to filter only groups
19 with given names.
20
22 list List all matching groups, either among installed or available
23 groups. If nothing is specified, list all known groups. --in‐
24 stalled and --available options narrow down the requested list.
25 If --hidden option is used, also hidden groups are included in
26 the list.
27
28 info Print detailed information about groups. The command accepts
29 the same options as the list subcommand.
30
31 install
32 Mark the specified groups installed and install packages it con‐
33 tains. Also include optional packages of the group if the
34 --with-optional option is specified. All Mandatory and Default
35 packages will be installed whenever possible. Conditional pack‐
36 ages are installed if they meet their requirement. If the group
37 is already (partially) installed, the command installs the
38 missing packages from the group.
39
40 If the --no-packages option is used, no new packages will be in‐
41 stalled by this command. Only currently installed group packages
42 are considered to be installed with the group.
43
44 remove Mark the group removed and remove those packages in the group
45 from the system which do not belong to another installed
46 group and were not installed explicitly by the user.
47
48 If the --no-packages option is used, no packages will be removed
49 by this command.
50
51 upgrade
52 Upgrade a definition of the specified group and the packages be‐
53 longing to the group. If new packages have been added to the
54 current definition of the group since the group was installed,
55 the new packages will be installed. Likewise, if some packages
56 have been removed from the group definition, the packages will
57 be uninstalled unless they were installed for a different reason
58 (e.g. explicitly installed by a user or implicitly installed as
59 a dependency).
60
62 --available
63 Show only available groups. Those which are not installed, but known to DNF5.
64
65
66 --installed
67 Show only installed groups.
68
69
70 --hidden
71 Show also hidden groups.
72
73
74 --with-optional
75 Used with install command to include optional packages from the groups.
76
77
78 --no-packages
79 Used with install and remove commands to operate exclusively on the groups without manipulating any packages.
80
81
82 --contains-pkgs
83 Show only groups containing packages with specified names. List option, supports globs.
84
85
87 dnf5 group list --hidden
88 Show list of all groups, including hidden ones.
89
90
91 dnf5 group info *xfce*
92 Show detailed info about all groups related to Xfce.
93
94
95 dnf5 group install mysql --with-optional
96 Install the mysql group including optional packages.
97
98
99 dnf5 group upgrade mysql
100 Bring packages of the mysql group to compliance with a current
101 definition of the group.
102
103
105 dnf5-comps(7), Comps groups and environments
106 dnf5-specs(7), Patterns specification
107
108
110 See AUTHORS.md in dnf5 source distribution.
111
113 Contributors to the dnf5 project.
114
115
116
117
118 Nov 09, 2023 DNF5-GROUP(8)