树莓派进阶之路 (007) - 树莓派安装cmake3.5 脚本(原创)

cmake3.5安装脚本:

 1 #!/bin/bash
 2 
 3 cd
 4 echo "安装make"
 5 sudo apt-get install make
 6 echo "安装cmake"
 7 sudo apt-get install cmake
 8 echo "gcc"
 9 sudo apt-get install gcc
10 sudo apt-get autoremove cmake
11 echo "安装cmake 3.5"
12 wget https://cmake.org/files/v3.5/cmake-3.5.2.tar.gz
13 tar -xzvf cmake-3.5.2.tar.gz
14 cd cmake-3.5.2/
15 ./bootstrap
16 make .
17 sudo make install

 

 

 

posted @ 2016-09-10 15:09  极客先锋  阅读(1872)  评论(0编辑  收藏  举报