Have cmake 3.7.2 on linux.
A piece of software im trying to run requires 3.8.0 and above .
If i use apt-get install ,it installs the same version.
How can i upgrade cmake for the debian stretch or is the debian version limited to 3.7.2 ?
Ok ,so downloaded cmake 3.16.0 rc3 .
Unzipped the folder.
How do i install it as i have not used binary before ,only used apt-get then the method used to install .
Unzipping it is enough - you can invoke cmake directly from its unzip folder. That said, if you want to install it system-wide, you could cp -r its contents to /usr/local.
@graeme61 thatâs a Debian thing. See their backport instructions. Replace âbuster-backportsâ with âstretch-backportsâ in those instructions. I donât know how long they keep those alive though.
Building from source or using a precompiled binary as discussed above should also be fine.
Hi Brad
Tried your suggestion ,this is what i get when i run the command.
E: The value âstretch-backportsâ is invalid for APT::Default-Release as such a release is not available in the sources.
Think i will leave it for the moment as its too much hassle as i dont know how to build from binaries manually.
I am used to git clone ,then follow the make ,compile instructions from that particular site.
Hi everyone
After a long time away from this topic i thought it decent to give an update .
Just recently a piece of software required a higher version than cmake 3.7.2 to build.
As most of the suggestions was a bit advanced for me ,there must be a simpler way to do this .
Well i found it yesterday https://salsa.debian.org/cmake-team/cmake
This method ( ./bootstrap && make && sudo make install )
worked and to check cmake version installed, cmake --version
cmake 3.18.4 installed.
i was able to install other software requiring a higher version than the cmake 3.7.2 i had.
Thank you very much to everybody who tried to help me .
I hope by posting this i am helping someone else in return.
Kind Regards
Graeme
usually when someone figured out how to do something after asking it in a forum they forget to put the solutions, so thank you very much for the update solutions.