I have installed
apt-get and the "latest" version is 2.8.0.
But when I try to used, my project requires
cmake version 2.8.9.
I try to update but without any success using
How can I get
cmake 2.8.9 on Ubuntu 10.04
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The Ubuntu/Debian way for building from source :
sudo aptitude install devscripts dget -x -u http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_18.104.22.168-0ubuntu3.dsc sudo aptitude build-dep cmake cd cmake* && fakeroot dpkg-buildpackage -d sudo dpkg -i ../cmake*deb
This will create a local backport and install it. Substitute almost any other package that has a newer DSC available.
You can try this:
cd ~/Downloads/ wget http://www.cmake.org/files/v2.8/cmake-2.8.10.tar.gz tar xzvf cmake-2.8.10.tar.gz cd cmake-2.8.10 ./configure make -j4 sudo make install
This works for me on Ubuntu 12.04. I had to close and reopen my terminal to see the version change.
cmake version 2.8.10