Module subcommands take … arguments that specify modules or profiles.
dnf [options] module install …
Install module profiles, including their packages. In case no profile was provided, all default profiles get installed.
Module streams get enabled accordingly.
This command cannot be used for switching module streams. It is recommended to remove all installed content from the module and reset the module using the reset command. After you reset the module, you can install the other stream.
dnf [options] module update …
Update packages associated with an active module stream, optionally restricted to a profile. If the profile_name is provided, only the packages referenced by that profile will be updated.
dnf [options] module remove …
Remove installed module profiles, including their packages. In case no profile was provided, all installed profiles get removed.
dnf [options] module enable …
Enable a module stream and make the stream RPMs available in the package set.Modular dependencies are resolved, dependencies checked and also recursively enabled. In case of modular dependency issue the operation will be rejected. To perform the action anyway please use --skip-broken option.This command cannot be used for switching module streams. It is recommended to remove all installed content from the module, and reset the module using the reset command. After you reset the module, you can enable the other stream.
dnf [options] module disable …
Disable a module. All related module streams will become unavailable. In case of modular dependency issue the operation will be rejected. To perform the action anyway please use --skip-broken option.
dnf [options] module reset …
Reset module state so it's no longer enabled or disabled.
dnf [options] module list [--all] [module_name…]
Lists all module streams, their profiles and states (enabled, disabled, default).
dnf [options] module list --enabled [module_name…]
Lists module streams that are enabled.
dnf [options] module list --disabled [module_name…]
List module streams with installed profiles.
dnf [options] module info …
Print detailed information about given module stream.
dnf [options] module info --profile …
Print detailed information about given module profiles.
SPECIFYING MODULES
allows one to select modules or profiles a particular operation should work on.
It is in the form of NAME:STREAM:VERSION:CONTEXT:ARCH/PROFILE and supported partial forms are the following: · NAME · NAME:STREAM · NAME:STREAM:VERSION · NAME:STREAM:VERSION:CONTEXT · all above combinations with ::ARCH (e.g. NAME::ARCH) · NAME:STREAM:VERSION:CONTEXT:ARCH · all above combinations with /PROFILE (e.g. NAME/PROFILE)In case stream is not specified, the enabled or the default stream is used, in this order. In case profile is not specified, the system default profile or the 'default' profile is used.