ubuntu中安装cmake
时间: 2023-09-08 20:12:00 浏览: 96
ubuntu安装cmake
在Ubuntu中安装cmake有几种方法。第一种方法是使用命令行安装,可以通过运行以下命令来安装cmake:
```
sudo apt install cmake
```
然而,这种方法安装的cmake版本可能比较旧,不推荐使用。第二种方法是通过源码编译安装cmake。你可以参考以下链接中的教程来进行安装:
```
ubuntu安装cmake_yuanzhoulvpi的博客-CSDN博客_ubuntu安装cmake
```
这个方法可以确保你安装的是最新版本的cmake。希望这些信息能对你有所帮助。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [ubuntu20.04安装cmake详细教程](https://blog.csdn.net/l550802356/article/details/126602255)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [ubuntu安装cmake的三种方法(超方便!)](https://blog.csdn.net/Man_1man/article/details/126467371)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文