From 14f0d7a8aec8b7e7f5ce65a6c25c2edf9c03b220 Mon Sep 17 00:00:00 2001 From: clime Date: Nov 24 2017 08:18:57 +0000 Subject: Merge #173 `Update info how to install a module` --- diff --git a/frontend/coprs_frontend/coprs/templates/coprs/detail/module.html b/frontend/coprs_frontend/coprs/templates/coprs/detail/module.html index 55f769e..d5e4e4c 100644 --- a/frontend/coprs_frontend/coprs/templates/coprs/detail/module.html +++ b/frontend/coprs_frontend/coprs/templates/coprs/detail/module.html @@ -127,25 +127,27 @@ {% endif %} {% else %} -

To start working with modules, you first need to get modularity-enabled packages from @copr/copr:

+

+ To start using modules, you need to have DNF with modularity support. This is available out of the box + on the Fedora Modular Server, but on regular releases you need to install such DNF from Copr. +

-
dnf install dnf-plugins-core       # provides basic `dnf copr` command to enable COPR repos
-dnf copr enable @copr/copr         # contains necessary packages to work with modules
-dnf upgrade dnf-plugins-core       # gives `dnf copr` command with modularity support
-dnf install python3-fm-dnf-plugin  # provides `dnf module` command compatible with modulemd-1.0.2
+
dnf copr enable mhatina/dnf-modularity-stable
+dnf upgrade dnf
-

For dnf module documentation, see its project page. -

Now to install the built module, please run following commands as root:

-
# Add module repofile to your system, that is /etc/fm.modules.d
+          
# Add module repofile to your system
 dnf copr enable {{ module.copr.full_name }}
 
 # Install the module
-dnf module enable {{ module.name }}
+dnf module enable {{ module.name}}:{{ module.stream }} +dnf module install {{ module.name }}/default
+ +

For dnf module documentation, see the "Module Command" section in man dnf. {% endif %}