1.5.5 Switching Module Streams

Before switching module streams, carefully review the information in Section 1.5.3, “About Modular Dependencies and Stream Changes”.

When you switch to a different module stream, you are usually upgrading or downgrading the content to a different version than the version that is currently installed on the system.

Note

The module stream that you want to switch must already be enabled, and, another stream of the same module must already exist.

  1. Install the profiles of a different stream of the module as follows:

    # dnf install @module-name:stream

    where module-name of the name of the module, and stream is the desired stream.

    You are presented with a summary of the changes to be made and a request for confirmation.

    Running the previous command enables the new stream and disables the current stream. Note that it might be necessary to make changes to additional module streams and packages.

  2. Update or downgrade any packages installed from the previous module stream that were not listed in the profiles installed in the previous step.

    # dnf distro-sync

    You are presented with a summary of the changes to be made and a request for confirmation.

  3. Manually remove any remaining packages that were installed from the previous module stream.

    # dnf remove package ...

    where package ... is the name of the package, or packages, to be removed.

    You are presented with a summary of the changes to be made and a request for confirmation.