How to install cmake,ccmake from source?

10,146

I found an answer:

https://stackoverflow.com/questions/28110169/update-ccmake-on-ubuntu-when-building-from-source

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

Related videos on Youtube

augre
Author by

augre

Updated on September 18, 2022

Comments

  • augre
    augre almost 2 years

    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
     ./configure
     make
     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.