how to check whether CMake is installed in ubuntu? [duplicate]

Solution 1:

Just type cmake --version in terminal, If cmake is not installed you will command not found error, If cmake is installed , you can see the cmake version