CMake module for Ubuntu

Dear all,

after a fresh O2 build I usually load the environment via alienv load O2/latest-dev-o2. Afterwards, in the list of loaded modules, there is no CMake anymore. But I am quite sure in the past that was always the case. Does anyone know why? I am on Ubuntu 20.04.
The default CMake on Ubuntu 20.04 is version 3.16.3. When building O2 aliBuild is compiling CMake 3.19.2.
I know I can just add the path myself with
But I wonder if that should not be automatically set by alienv?

If I don’t set the PATH and try to do cmake --version after I have loaded the O2 environment I get the message
cmake --version
cmake: /home/oschmidt/alice/sw/ubuntu2004_x86-64/curl/7.70.0-1/lib/ no version information available (required by cmake)
cmake version 3.16.3

CMake suite maintained and supported by Kitware (


Edit: aliBuild version: 1.8.1

1 Like