diff --git a/compilation.sh b/compilation.sh
index 2f45d00..26fabcf 100755
--- a/compilation.sh
+++ b/compilation.sh
@@ -20,7 +20,7 @@ if grep -q $version $version_file; then
     exit
 fi
 # get build deps
-cmake g++
+dnf install cmake g++ -y
 # get submodules
 git submodule update --init --depth 1