summaryrefslogtreecommitdiffstats
path: root/wizard
diff options
context:
space:
mode:
Diffstat (limited to 'wizard')
-rw-r--r--wizard/index.php22
1 files changed, 16 insertions, 6 deletions
diff --git a/wizard/index.php b/wizard/index.php
index 229fe7e6..b30797b4 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -50,9 +50,9 @@ $osname = [
'RHEL 8' => 'RHEL 8.4',
'RHEL 7' => 'RHEL 7.9 (maintained until June 2024)',
':centos' => 'CentOS Linux and other clones',
- 'CentOS 9' => 'CentOS 9',
+ 'CentOS 9' => 'CentOS 9 (Development version)',
'CentOS 8' => 'CentOS 8',
- 'CentOS 7' => 'CentOS 7.9.2009 (maintained until June 2024)',
+ 'CentOS 7' => 'CentOS 7 (maintained until June 2024)',
':fedora' => 'Fedora Linux',
'Fedora 35' => 'Fedora 35',
'Fedora 34' => 'Fedora 34',
@@ -199,14 +199,24 @@ if ($php && $os && $type && !$err) {
} else {
$yum = 'yum';
}
- printf("<li>Command to install the EPEL repository configuration package:");
- printf("<pre> $yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-%d.noarch.rpm</pre></li><br />", $ver);
+ if ($ver < EL_DEV) {
+ printf("<li>Command to install the EPEL repository configuration package:");
+ printf("<pre> $yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-%d.noarch.rpm</pre></li><br />", $ver);
+ }
printf("<li>Command to install the Remi repository configuration package:");
printf("<pre> $yum install https://rpms.remirepo.net/enterprise/remi-release-%d.rpm</pre>", $ver);
printf("</li><br />");
- printf("<li>Command to install the yum-utils package (for the yum-config-manager command):");
- printf("<pre> $yum install yum-utils</pre>");
+ if ($yum === "yum") {
+ printf("<li>Command to install the yum-utils package (for the yum-config-manager command):");
+ printf("<pre> $yum install yum-utils</pre>");
+ }
+
+ if ($ver >= EL_DEV) {
+ printf("<li>As EPEL is not yet ready, you have to enable the main repository:");
+ printf("<pre> dnf config-manager --enable remi</pre></li><br />", $ver);
+ }
+
printf("</li><br />");
if ($dist == 'RHEL' && $ver < 8) {
printf("<li>On <b>RHEL</b> you (probably) need to enable the <b>optional channel</b> for some dependencies.</li><br />");