← 返回命令列表

Linux command

dnf-group 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List

dnf group list

Example

dnf group info [group_name]

Install

dnf group install [group_name]

Remove

dnf group remove [group_name]

Upgrade

dnf group upgrade [group_name]

说明

dnf group manages virtual collections of packages. Groups bundle related packages together, such as "Development Tools" or "Server". Installing a group installs all its mandatory and default packages.

参数

list
List available groups
info _group_
Show group details including packages
install _group_
Install group packages
remove _group_
Remove group packages
upgrade _group_
Upgrade group packages

FAQ

What is the dnf-group command used for?

dnf group manages virtual collections of packages. Groups bundle related packages together, such as "Development Tools" or "Server". Installing a group installs all its mandatory and default packages.

How do I run a basic dnf-group example?

Run `dnf group list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list do in dnf-group?

List available groups