diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 811900159f3a669a97b7743fee6e164057b58aa4..1089e77802e66dc4f233eed5bc92276b41afca86 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -12,7 +12,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Install dependencies
-        run: apt install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel
+        run: sudo apt install -y openssh-clients cmake wget git gcc-c++ gcc-gfortran python39 bzip2 diffutils zlib-devel
       - name: Clone repository
         run: |
           git clone ${{ secrets.GIT_REPOSITORY }} ${{ github.workspace }}