去https://curl.haxx.se/download/下载新版本
解压后编译安装
cd curl-7.61.1 ./configure make make install mv /usr/bin/curl /usr/bin/curl.7.19.7 cp /usr/local/bin/curl /usr/bin/ curl --version curl 7.61.1 (x86_64-pc-linux-gnu) libcurl/7.61.1 OpenSSL/1.0.1e zlib/1.2.3 Release-Date: 2018-09-05 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz UnixSockets HTTPS-proxy