How to install latest cmake for Raspberry Pi
These installation steps are generally true for Ubuntu linux system.
You can also refer from this link for installation.
You can get lastest file from this link also.
Create a folder
pi@raspberrypi ~ $ mkdir Download
pi@raspberrypi ~ $ cd Download
Download necessary file and extract it
pi@raspberrypi ~/Download $ wget https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz
pi@raspberrypi ~/Download $ tar -xvzf cmake-3.4.1.tar.gz
Compile and install cmake
pi@raspberrypi ~/Download $ cd cmake-3.4.1/
pi@raspberrypi ~/Download/cmake-3.4.1 $ sudo ./bootstrap
pi@raspberrypi ~/Download/cmake-3.4.1 $ sudo make
pi@raspberrypi ~/Download/cmake-3.4.1 $ sudo make install
Worked great. :)
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteWell done thanks!
ReplyDeletethanks it helped a lot
ReplyDeletemuch quicker way:
ReplyDeletesudo apt-get install cmake -y
But then you don't get the latest cmake...
DeleteVersion 3.4.1 would not install. After changing the procedure to 3.11.0 the installation finished okay. Installation takes a considerable amount of time.
ReplyDeleteits working thank you
ReplyDeletegreat tutorial
ReplyDelete