Initial Settings : Use Moduler Repository2023/04/21 |
This is how to use Moduler Repository.
|
|
[1] | Display available modules. |
[root@dlp ~]# dnf module list Fedora Modular 38 - x86_64 Name Stream Profiles Summary avocado latest default[d], minimal Framework with tools and libraries for Automated Testing avocado 82lts default, minimalFramework with tools and libraries for Automated Testing ..... ..... swig 4.1 complete, default Connects C/C++/Objective C to some high-level programming languages 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 [PostgreSQL] modules [root@dlp ~]# dnf module list postgresql Fedora Modular 38 - x86_64 Name Stream Profiles Summary postgresql 12 client, server PostgreSQL module postgresql 13 client, server PostgreSQL module postgresql 14 client, server PostgreSQL module postgresql 15 client, server PostgreSQL module Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled # for example, install PostgreSQL 14 [root@dlp ~]# dnf module -y install postgresql:14/server Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing group/module packages: postgresql-server x86_64 14.7-3.module_f38+16250+c783e747 fedora-modular 5.9 M Installing dependencies: postgresql x86_64 14.7-3.module_f38+16250+c783e747 fedora-modular 1.6 M postgresql-private-libs x86_64 14.7-3.module_f38+16250+c783e747 fedora-modular 136 k Installing module profiles: postgresql/server Transaction Summary ================================================================================ Install 3 Packages ..... ..... # state of [PostgreSQL 14] turns to [e]nabled and [i]nstalled [root@dlp ~]# dnf module list postgresql Fedora Modular 38 - x86_64 Name Stream Profiles Summary postgresql 12 client, server PostgreSQL module postgresql 13 client, server PostgreSQL module postgresql 14 [e] client, server [i] PostgreSQL module postgresql 15 client, server PostgreSQL module Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled # if you'd like to switch to another version, reset first [root@dlp ~]# dnf module -y reset postgresql # enable and install [PostgreSQL 15] [root@dlp ~]# dnf module -y enable postgresql:15 [root@dlp ~]# dnf module -y install postgresql:15/server
# state of [PostgreSQL 15] turns to [e]nabled [root@dlp ~]# dnf module list postgresql Fedora Modular 38 - x86_64 Name Stream Profiles Summary postgresql 12 client, server PostgreSQL module postgresql 13 client, server PostgreSQL module postgresql 14 client, server PostgreSQL module postgresql 15 [e] client, server [i] PostgreSQL module Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled |
Sponsored Link |
|