tar zxvf cmake-2.8.5.tar.gz cd cmake-2.8.5 ./configure make&&make install rehash 转载于:https://www.cnblogs.com/seasonsstory/archive/2013/06/03/3115391.html