installing cmake on debian code example
Example: install cmake debian
$ wget https://github.com/Kitware/CMake/releases/download/v3.15.2/cmake-3.15.2.tar.gz
$ tar -zxvf cmake-3.15.2.tar.gz
$ cd cmake-3.15.2
$ ./ bootstrap
$ make
$ sudo make install
$ cmake --version