# HG changeset patch # User Oleksandr Gavenko # Date 1677597156 -7200 # Node ID c255185c5f0bfbc9d20959df733b75d3d3295066 # Parent 37a80bcdba4b061d753b3305cba13b4e9cfd5ead Dealing with streams. diff -r 37a80bcdba4b -r c255185c5f0b dnf.rst --- a/dnf.rst Mon Feb 27 00:59:42 2023 +0200 +++ b/dnf.rst Tue Feb 28 17:12:36 2023 +0200 @@ -70,3 +70,32 @@ dnf repoquery --alldeps --whatrequires $PKG dnf repoquery --installed --whatrequires $PKG rpm -q --whatrequires $PKG + +Dealing with streams +==================== + +Streams group related package at specific compatible version. Only one version could be installed in +system in time. + +For example Node.js has lots of parallel versions:: + + bash# sudo dnf module list nodejs + Name Stream Profiles Summary + nodejs 10 [d] common [d], development, minimal, s2i Javascript runtime + nodejs 12 common [d], development, minimal, s2i Javascript runtime + nodejs 14 common [d], development, minimal, s2i Javascript runtime + nodejs 16 common [d], development, minimal, s2i Javascript runtime + nodejs 18 common [d], development, minimal, s2i Javascript runtime + +You select specific stream:: + + sudo dnf module install nodejs:18 + +In order to change stream one need to remove all the packages from original stream and reset the +stream:: + + sudo dnf module remove nodejs + sudo dnf module reset nodejs + sudo dnf module install nodejs:16 + +