Initial Settings : Use Moduler Repository2020/04/29 |
This is how to use Moduler Repository.
|
|
[1] | Display available modules. |
[root@dlp ~]# dnf module list Last metadata expiration check: 0:36:28 ago on Wed 29 Apr 2020 01:07:04 AM EDT. Fedora Modular 32 - x86_64 Name Stream Profiles Summary ant 1.10 default [d] Java build tool avocado latest default [d], minim r Automated Testingal Framework with tools and libraries fo avocado 69lts default [d], minim r Automated Testingal Framework with tools and libraries fo cobbler 3 default Versatile Linux deployment server cri-o 1.11 default Kubernetes Container Runtime Interface for OCI-based containers ..... ..... tomcat master default Apache Servlet/JSP Engine, RI for Ser vlet 4.0/JSP 2.3 API varnish 6.0 default Varnish HTTP cache Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled |
[2] | For installing available modules, Configure like follows. |
# for example, display [Node.js] modules [root@dlp ~]# dnf module list nodejs Last metadata expiration check: 0:38:15 ago on Wed 29 Apr 2020 01:07:04 AM EDT. Fedora Modular 32 - x86_64 Name Stream Profiles Summary nodejs 10 default [d], development, minimal Javascript runtime nodejs 12 default [d], development, minimal Javascript runtime nodejs 13 default, development, minimal Javascript runtime Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled # install Node.js 12 [root@dlp ~]# dnf module install nodejs:12 Last metadata expiration check: 0:38:47 ago on Wed 29 Apr 2020 01:07:04 AM EDT. Dependencies resolved. =============================================================================================== Package Arch Version Repository Size =============================================================================================== Installing group/module packages: nodejs x86_64 1:12.16.1-1.module_f32+8191+04fa579c fedora-modular 102 k npm x86_64 1:6.13.4-1.12.16.1.1.module_f32+8191+04fa579c fedora-modular 3.4 M Installing dependencies: libuv x86_64 1:1.34.2-1.module_f32+7522+981ba268 fedora-modular 148 k nodejs-libs x86_64 1:12.16.1-1.module_f32+8191+04fa579c fedora-modular 12 M Installing weak dependencies: nodejs-docs noarch 1:12.16.1-1.module_f32+8191+04fa579c fedora-modular 2.8 M nodejs-full-i18n x86_64 1:12.16.1-1.module_f32+8191+04fa579c fedora-modular 7.6 M Installing module profiles: nodejs/default Enabling module streams: nodejs 12 Transaction Summary =============================================================================================== Install 6 Packages ..... ..... # state of [Node.js 12] turns to [e]nabled and [i]nstalled [root@dlp ~]# dnf module list nodejs Last metadata expiration check: 0:43:23 ago on Wed 29 Apr 2020 01:07:04 AM EDT. Fedora Modular 32 - x86_64 Name Stream Profiles Summary nodejs 10 default [d], development, minimal Javascript runtime nodejs 12 [e] default [d] [i], development, minimal Javascript runtime nodejs 13 default, development, minimal Javascript runtime Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled[root@dlp ~]# dnf module provides nodejs Last metadata expiration check: 0:43:46 ago on Wed 29 Apr 2020 01:07:04 AM EDT. nodejs-1:10.19.0-1.module_f32+7691+71be9bd6.x86_64 Module : nodejs:10:3220200213182243:43bbeeef:x86_64 Profiles : default development minimal Repo : fedora-modular Summary : Javascript runtime ..... .....
[root@dlp ~]#
node -v v12.16.1 # state of [Node.js 10] turns to [e]nabled [root@dlp ~]# dnf module list nodejs Last metadata expiration check: 0:47:18 ago on Wed 29 Apr 2020 01:07:04 AM EDT. Fedora Modular 32 - x86_64 Name Stream Profiles Summary nodejs 10 [e] default [d] [i], development, minimal Javascript runtime nodejs 12 default [d], development, minimal Javascript runtime nodejs 13 default, development, minimal Javascript runtime Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled[root@dlp ~]# dnf module provides nodejs Last metadata expiration check: 0:47:39 ago on Wed 29 Apr 2020 01:07:04 AM EDT. nodejs-1:10.19.0-1.module_f32+7691+71be9bd6.x86_64 Module : nodejs:10:3220200213182243:43bbeeef:x86_64 Profiles : default development minimal Repo : fedora-modular Summary : Javascript runtime[root@dlp ~]# node -v v10.19.0 |
Sponsored Link |
|