附录 A. DNF commands list
In the following sections, examine DNF commands for listing, installing, and removing content in Red Hat Enterprise Linux 10.
A.1. Commands for listing content in RHEL 复制链接链接已复制到粘贴板!
The following are the commonly used DNF commands for finding content and its details in Red Hat Enterprise Linux 10:
| Command | Description |
|---|---|
|
| Search for a package by using term related to the package. |
|
| Search for enabled DNF repositories for a selected package and its version. |
|
| List information about all installed and available packages. |
|
| List all packages installed on your system. |
|
| List all packages in all enabled repositories that are available to install. |
|
| List all enabled repositories on your system. |
|
| List all disabled repositories on your system. |
|
| List both enabled and disabled repositories. |
|
| List additional information about the repositories. |
|
| Display details of an available package. |
|
| Display details of a package installed on your system. |
|
| View the number of installed and available groups. |
|
| List all installed and available groups. |
|
| List mandatory and optional packages included in a particular group. |