centos 7 curl 编译安装

时间:2024-03-07 11:01:02

  下载安装

wget https://github.com/curl/curl/releases/download/curl-7_63_0/curl-7.63.0.tar.xz
tar xvJf curl-7.63.0.tar.xz
cd curl-7.63.0
./configure
make && make install
ln -s -f /usr/local/bin/curl /usr/bin/curl

  curl --version

curl 7.63.0 (x86_64-pc-linux-gnu) libcurl/7.63.0 OpenSSL/1.0.2k zlib/1.2.7
Release-Date: 2018-12-12
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