Oracle Linux: How To Change Default Module Stream — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Oracle Linux: How To Change Default Module Stream

edited Aug 12, 2025 4:34PM in Linux

Applies to:

Oracle Cloud Infrastructure

Oracle Linux 8 and Later

Goal:

This document explains steps to change default module stream.

Solution:

By default, the dnf utility uses the default streams defined in the repository which contains the modules. It is possible to override the default stream in the /etc/dnf/modules.defaults.d/ directory.

  1. The following command lists the different streams available for php and the default stream of it. In the below example, the default stream is 7.2.
$ dnf module list php
(...)
Name                      Stream                   Profiles                                    Summary                  

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!