You can find instructions on how to resolve the "cmake command not found" error on various Linux distributions in a tutorial published by DebugPoint.
[Fixed] Cmake command not found Error in Ubuntu and Other Linux
Learn how to fix cmake command not found error in Debian, Ubuntu, Fedora and Arch Linux distributions with details.
[Fixed] Cmake command not found Error in Ubuntu and Other Linux