diff --git a/script/solve_gpp b/script/solve_gpp
index 1c681a27c21e7257110c9654b7738067ea576b0a..5aafb19b57ceb322e27f0f60e6a3c95d9c8a1aec 100755
--- a/script/solve_gpp
+++ b/script/solve_gpp
@@ -25,7 +25,7 @@ elif [ x"$1" = x"linux"  ]; then
           possible_solutions "${commands[@]}"
           compiler_gcc="gcc"
           compiler_gpp="g++"
-        elif [ x"$pcman" == x"yum" ]; then
+        elif [ x"$pcman" == x"yum" -o x"$pcman" == x"zypper" ]; then
           commands[0]="su -c \"$pcman install gcc-c++\""
           commands[1]="sudo $pcman install gcc-c++"
           possible_solutions "${commands[@]}"