diff --git a/pages/custom-query-modules.mdx b/pages/custom-query-modules.mdx index 3eb01144c..585555b45 100644 --- a/pages/custom-query-modules.mdx +++ b/pages/custom-query-modules.mdx @@ -302,23 +302,26 @@ Then, select a language you want to develop in. Run the following commands: ```bash - sudo apt-get update && apt-get install -y \ - libcurl4 `memgraph` \ - libpython${PY_VERSION} `memgraph` \ - libssl-dev `memgraph` \ - openssl `memgraph` \ - build-essential `mage-memgraph` \ - cmake `mage-memgraph` \ - curl `mage-memgraph` \ - g++ `mage-memgraph` \ - python3 `mage-memgraph` \ - python3-pip `mage-memgraph` \ - python3-setuptools `mage-memgraph` \ - python3-dev `mage-memgraph` \ - clang `mage-memgraph` \ - git `mage-memgraph` \ - --no-install-recommends \ - && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + PY_VERSION="$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2)" + sudo apt update + sudo apt install -y \ + libcurl4 \ + libpython${PY_VERSION} \ + libssl-dev \ + openssl \ + build-essential \ + cmake \ + curl \ + g++ \ + python3 \ + python3-pip \ + python3-setuptools \ + python3-dev \ + clang \ + git \ + libboost-dev \ + ninja-build \ + --no-install-recommends ``` {