dnf-group
Manage package groups (install, remove, list)
TLDR
List DNF groups, showing installed and uninstalled status in a table
Show DNF group info, including repository and optional packages
Install DNF group
Remove DNF group
Upgrade DNF group
SYNOPSIS
dnf group
PARAMETERS
install
Installs the specified package group.
remove
Removes the specified package group.
upgrade
Upgrades the specified package group.
list
Lists available, installed, or hidden package groups. Use `dnf group list hidden` to show hidden groups.
info
Displays information about the specified package group.
DESCRIPTION
The `dnf-group` command allows users to manage package groups using the DNF package manager. Package groups are collections of related packages that can be installed, updated, or removed as a single unit. This simplifies the management of software suites and common application stacks.
This command simplifies installation and removal of multiple related packages at once. Common examples are installing groups for software development, office productivity or web servers. It streamlines the process compared to installing each package individually. This can significantly reduce the time and effort required to set up a system with a specific purpose.
The commands that can be used are install, upgrade, remove, list and info, and they offer similar functionality compared to operating on single packages.
USAGE EXAMPLES
List available groups: `dnf group list available`
Install a group: `dnf group install "Development Tools"`
Remove a group: `dnf group remove "Development Tools"`
Note: Group names are case-sensitive and may require quotes if they contain spaces.
Some groups are marked as hidden and aren't shown in a normal listing. To see them you can use the command: dnf group list hidden
HISTORY
The `dnf-group` command is part of the DNF package manager, which is the successor to YUM. Its development was driven by the need for improved performance, dependency resolution, and a more modern architecture compared to YUM. DNF aims to provide a more efficient and reliable package management experience. As such it is included and actively developed in newer Fedora, Red Hat and other Red Hat based distros.