Using AppStreams to install different versions of software
Now, we’re going to expand on what we know about AppStreams, and instead of installing an application from the default module stream, we’re going to specify a different stream.
How to do it…
There are multiple ways to do this: simply specifying the installation of a different stream will get the job done, or you can first manually enable a different version. My preference is to specify the version as I install it because, in that case, the AppStream will automatically enable that version:
# dnf module install nodejs:16
Note
If you already installed some version of an AppStream, it is best to remove the old one before resetting and installing a different version. This will be covered later.
The output is shown in the following screenshot:
Figure 10.11 – Output of dnf module install nodejs:16
You’ll see from the printout that the module stream for...