Ubuntu – How to install cmake,ccmake from source

compilingsoftware installation

I followed the first answer to this question.

 sudo apt-get install build-essential
 wget http://www.cmake.org/files/v3.2/cmake-3.5.0-rc2.tar.gz
 tar xf cmake-3.5.0-rc2.tar.gz
 cd cmake-3.5.0-rc2
 sudo apt-get install checkinstall
 sudo checkinstall

And this worked but ccmake was not installed. While googling I couldn't find how to add to the build/install cmake-curses-gui too.

Best Answer

I found an answer:


  1. Install libncurses5-dev
  2. Reconfigure/compile/install cmake
  3. Restart the shell (initially it was available, but the shell couldn't find it)
Related Question