How to install cmake 3.3.2 on ubuntu 14.04?
How to install cmake 3.3.2 on ubuntu 14.04?
Either use a PPA or compile it yourself:
Installation by a PPA (目前只能升级到3.2)
1 | sudo apt-get install software-properties-common |
When cmake is not yet installed:
sudo apt-get install cmakeWhen cmake is already installed:
sudo apt-get upgrade
要升级到3.3.2必须自己编译
Currently, the latest version is 3.2.2, the following instructions based on this version. You should therefore check this URL and adjust the file name accordingly.
1 | sudo apt-get install build-essential |
Now you can have to choose an installation type to decide, I recommend installing with checkinstall, as this creates a DEB package.
With checkinstall
1 | sudo apt-get install checkinstall |
With make install
sudo make install