install cmake ubuntu code example Example 1: install cmake ubuntu For Ubuntu: sudo apt-get install cmake Example 2: cmake version comand cmake --version