Install the latest CMake version in Ubuntu

Source: Internet
Author: User

Install the latest CMake version in Ubuntu with apt-get install. The latest version of CMake 2.8.9 is required in the project. This version is packaged with CPack. to experience the convenience of publishing a CPack, try it out. First uninstall the installed old version of CMake apt-get autoremove cmake and then download: cd/usr wget http://www.cmake.org/files/v2.8/cmake-2.8.9-Linux-i386.tar.gz unzip: tar zxvf cmake-2.8.9-Linux-i386.tar.gz, take a look at the directory structure after decompression: # tree-L 2. ├ ── bin │ ├ ── ccmake │ ── cmake │ ├ cmake-gui │ ── cpack │ └ ── ctest ├ ── doc │ ── cmake-2.8 ── man │ ── manman1 └ ── share ── aclocal ├ ── applications ── cmake-2.8 ├ ── mime maps ── pixmaps 11 directorie S, 5 files bin has a variety of cmake family product programs, cpack also has. Very good. It is needed for the subsequent project. Now create the link: ln-s/usr/cmake-2.8.9-Linux-i386/bin/*/usr/bin/and then run the command to check: # cmake -- version cmake version 2.8.9 OK. The latest cmake version is successfully installed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.