linux下编译安装curl
1.下载curl
1 git clone https://github.com/curl/curl.git
2.在curl目录下生成configure文件
1 cd curl 2 ./buldconf
3.编译生成curl
1 ./configure 2 make 3 make install
4.在src下生成了curl
1 /curl -V
如果出现下述命令:
1 curl 7.49.1-DEV (x86_64-unknown-linux-gnu) libcurl/7.49.1-DEV 2 Protocols: dict file ftp gopher http imap pop3 rtsp smtp telnet tftp 3 Features: IPv6 Largefile UnixSockets
curl就安装成功了。