在ubuntu中更新cmake与curl
来源:互联网 发布:活页笔记本 知乎 编辑:程序博客网 时间:2024/05/23 16:56
安装软件时,要求3.3及以上的cmake版本,而ubuntu的apt-get最多只能更新到3.1,所以尝试自己安装。同时也更新curl。
首先卸载原有的cmake和curl
$ sudo apt-get remove cmake$ sudo apt-get remove curl
由于之后更新curl时需要openssl的支持,所以先安装此依赖库sudo apt-get install libssl-dev
然后在官网下载curl源码包,解压进入后执行下列命令:
/CurlExtractFolder$ ./configure --with--ssl/CurlExtractFolder$ make/CurlExtractFolder$ sudo make install
安装完成后,可以通过curl --version命令查看,当前curl是否支持https协议然后在cmake源码包中执行下列指令
$ ./bootstrap --system-curl$ make$ sudo make install
make时报错找不到curses.h文件,补装这个库就行:
sudo apt-get install libncurses5-dev
完成安装
阅读全文
0 0
- 在ubuntu中更新cmake与curl
- ubuntu中cmake源码安装
- Android增量更新与CMake构建工具
- 在Centos中安装CMake
- 在Mac中安装cmake
- 在Cmake中关闭log4cplus
- opencv 在ubuntu的cmake配置
- 在php中使用curl
- 在android中增加curl
- 在XAMPP中开启cURL
- 在C#中使用CURL
- 在cmake中使用configure和make
- 在cmake中使用doxygen生成document
- cmake:在Makefile中运行ant脚本
- 在CMake中使用C++11
- 在Ubuntu中安装Eclipse与Helloworld
- 在Ubuntu中安装Eclipse与Helloworld
- cocos2d-x系列笔记(8)---在cocos2d-x项目中使用curl与web服务器通信
- 1069: 向Z同学学习
- 序列的获取
- 一位资深程序员大牛给予Java初学者的学习路线建议
- leetcode 37. Sudoku Solver
- CodeForces 133 A.HQ9+(水~)
- 在ubuntu中更新cmake与curl
- Spring MVC
- tablayout头部
- 日记(周末)
- matlab2c使用c++实现matlab函数系列教程- polyint函数
- Java 环境的搭建
- 3241: [Noi2013]书法家
- MySQL触发器基础总结
- Python+Django+apache2+ubuntu构架web服务器实战