Skip to content

Commit ac0ad7c

Browse files
committed
Update install.sh
1 parent 4c064ae commit ac0ad7c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

install.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,12 @@ install_if_needed_apt() {
8181
install_if_needed_rhel() {
8282
local pkgs=()
8383
if [[ $need_gcc -eq 1 ]]; then
84-
pkgs+=(gcc)
84+
echo "[*] Installing Development Tools group..."
85+
if command -v dnf >/dev/null 2>&1; then
86+
dnf groupinstall "Development Tools" -y
87+
else
88+
yum groupinstall "Development Tools" -y
89+
fi
8590
fi
8691
if [[ $need_ncurses_headers -eq 1 ]]; then
8792
pkgs+=(ncurses-devel)

0 commit comments

Comments
 (0)