diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5e788421b8fb98d9ecf23a411e9da801446dc2a..adce15df3de62b962a60104975e362375b4368fc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,8 @@ before_script:
   - curl -sSL https://github.com/ferrous-systems/mdslides/releases/download/v0.3.0/mdslides-v0.3.0-x86_64-unknown-linux-gnu.tar.xz | tar -xJ "mdslides-v0.3.0-x86_64-unknown-linux-gnu/mdslides" && mv mdslides-v0.3.0-x86_64-unknown-linux-gnu/mdslides $HOME/.cargo/bin/ && rm -r mdslides-v0.3.0-x86_64-unknown-linux-gnu
   - rustup component add rustfmt
   - rustup component add clippy
+  - curl -L https://github.com/HollowMan6/mdbook-pdf/releases/download/v0.1.8/mdbook-pdf-v0.1.8-x86_64-unknown-linux-gnu -o $HOME/.cargo/bin/mdbook-pdf
+  - chmod +x $HOME/.cargo/bin/mdbook-pdf
   - export PATH=$PATH:$HOME/.cargo/bin
   ##
   ## Install ssh-agent if not already installed, it is required by Docker.