centos下安装cmake

哎呦 蛋疼

 

cd /usr/local
wget http://www.cmake.org/files/v2.8/cmake-2.8.12.1-Linux-i386.tar.gz
tar xvfz cmake-2.8.12.1-Linux-i386.tar.gz
cd cmake-2.8.12.1-Linux-i386
ln -s /usr/local/cmake-2.8.12.1-Linux-i386/bin/* /usr/bin/
cmake --version 
Share

小 虾

哦也,我是小虾

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.