libcurl 库的安装

1.下载
进入官网下载:https://curl.haxx.se/download.html
libcurl 库的安装_第1张图片
2.解压:

$ tar -xvf   curl_7.22.0.orig.tar.gz 
$ cd curl-7.22.0/
$ ./configure
$ sudo make
$ sudo make install
$ curl --version 				//检查安装成功
curl 7.22.0 (x86_64-unknown-linux-gnu) libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IDN IPv6 Largefile NTLM NTLM_WB SPNEGO SSL libz TLS-SRP 

你可能感兴趣的:(libcurl)