module

The module Kickstart command is optional. Use this command to enable a package module stream within the kickstart script.

Syntax

              module --name=NAME [--stream=STREAM]
            
Mandatory options
  • --name= : Specifies the name of the module to enable. Replace NAME with the actual name.
Optional options
  • --stream= : Specifies the name of the module stream to enable. Replace STREAM with the actual name.

    You do not need to specify this option for modules with a default stream defined. For modules without a default stream, this option is mandatory and leaving it out results in an error. Enabling a module multiple times with different streams is not possible.

Notes
  • Using a combination of this command and the %packages section allows you to install packages provided by the enabled module and stream combination, without specifying the module and stream explicitly. Modules must be enabled before package installation. After enabling a module with the module command, you can install the packages enabled by this module by listing them in the %packages section.
  • A single module command can enable only a single module and stream combination. To enable multiple modules, use multiple module commands. Enabling a module multiple times with different streams is not possible.
  • In Red Hat Enterprise Linux 10, modules are present only in the AppStream repository. To list available modules, use the dnf module list command on an installed Red Hat Enterprise Linux Red Hat Enterprise Linux system with a valid subscription.