美文网首页
Install CMake on Ubuntu

Install CMake on Ubuntu

作者: 曹志文 | 来源:发表于2019-03-03 12:15 被阅读0次
  1. Go to Download Page and download the .sh version for Linux x86_64.
# We can find tar.gz files are included in the shell
code cmake-3.14.0-rc3-Linux-x86_64.sh
 
# Help list for cmake.sh
sh cmake-3.14.0-rc3-Linux-x86_64.sh --help

# prefix=/usr/local : All the user packages should be put here
# exclude-subdir : Exclude the directory cmake-3.14.0-rc3-Linux-x86/ itself, 
# then the /bin /man /share etc. can be put under separate corresponding folders under /usr/local/
# Also remember to say no to "Do you want to include the subdirectory cmake-3.14.0-rc3-Linux-x86_64?"
# Otherwise the folders of cmake will come under only one subdirectory
sudo sh cmake-3.14.0-rc3-Linux-x86_64.sh --prefix=/usr/local/ --exclude-sudir

相关文章

网友评论

      本文标题:Install CMake on Ubuntu

      本文链接:https://www.haomeiwen.com/subject/rsepuqtx.html