1.5.1 Displaying Available Modules

You can list available modules, typically within the Application Stream repository, by using the dnf module list command. Further module information can be obtained using the dnf module info command.

The following table describes some of the more commonly used commands for viewing and displaying content details in Application Stream.

Command Syntax

Description of Action

dnf module info module-name

Displays information about a module.

dnf module info --profile module-name

Displays information about the packages that are installed by the profiles of a module using the default stream.

dnf module info --profile module-name:stream

Displays information about the packages that are installed by the profiles of a module using a specified stream.

dnf module list

Lists all of the available modules and displays the module name, stream, profiles, and a summary. Each module and stream is listed on a separate line. Profiles are indicated using comma separated values for each module and stream.

Default values are indicated with the characters [d]. Modules that are enabled are indicated with the characters [e], while those that are disabled are indicated with the characters [x]. Installed modules, streams and profiles are indicated with the characters [i].

dnf module list module-name

Lists the current status of a module.

dnf module provides package

Displays information about which modules provide a specified package.

If the package is only available outside of any modules, the command output is empty.