use a different stream with dnf

Latest response

Hello,
Using "dnf module list nodejs" i got this list:

Extra Packages for Enterprise Linux Modular 8 - x86_64
Name       Stream        Profiles                                  Summary               
nodejs     13            default, development, minimal             Javascript runtime    

Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name       Stream        Profiles                                  Summary               
nodejs     10 [d][e]     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 

Now I would like to use the stream 14 (the latest LTS version of NodeJs) but I do not now how.

Yours sincerely,

Lucas

Responses

Hi Lucas,

Just execute the following commands. :)

sudo dnf module remove nodejs
sudo dnf module disable nodejs

sudo dnf module reset nodejs

sudo dnf module enable nodejs:14
sudo dnf module install nodejs:14

Regards,
Christian