summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wizard/index.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/wizard/index.php b/wizard/index.php
index b36cb818..42c303f5 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -222,11 +222,23 @@ if ($php && $os && $type && !$err) {
} else {
$yum = 'yum';
}
+ switch ($os) {
+ case 'RHEL 8':
+ case 'RHEL 9':
+ printf("<li>Command to enabled the <b>CRB</b> repository:");
+ printf("<pre> subscription-manager repos --enable codeready-builder-for-rhel-%d-x86_64-rpms</pre></li><br />", $ver);
+ break;
+ case 'CentOS 8':
+ case 'CentOS 9':
+ printf("<li>Command to enabled the <b>CRB</b> repository:");
+ printf("<pre> dnf config-manager --set-enabled %s</pre></li><br />", $ver < 9 ? 'powertools' : 'crb');
+ break;
+ }
if ($ver < EL_DEV || EPEL_DEV > 0) {
- printf("<li>Command to install the EPEL repository configuration package:");
+ printf("<li>Command to install the <b>EPEL</b> 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("<li>Command to install the <b>Remi</b> repository configuration package:");
printf("<pre> $yum install https://rpms.remirepo.net/enterprise/remi-release-%d.rpm</pre>", $ver);
printf("</li><br />");