diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 19b752ae893b663cc46adc88abfd2e5b621627b3..e72c305c3cfedf3dd03b6b888cac7ee02a7a4a99 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@ image: ubuntu:latest
 
 before_script:
   - export DEBIAN_FRONTEND=noninteractive
-  - apt-get update -qq && apt-get install -y -qq build-essential libhdf5-serial-dev gfortran csh git libtool-bin autoconf openmpi-bin openmpi-common libopenmpi-dev python3 python3-setuptools python3-numpy python3-scipy python3-matplotlib
+  - apt-get update -qq && apt-get install -y -qq build-essential libhdf5-serial-dev gfortran csh git libtool-bin autoconf openmpi-bin openmpi-common libopenmpi-dev python3 python3-setuptools python3-numpy python3-scipy python3-matplotlib python3-dev
   - export LHOME=`pwd`
 # Compile grackle
   - mkdir grackle