离线更新服务器curl工具
- 在官网上https://curl.haxx.se/download.html获取最新版本的url
- 下载最新版本到本地
- 安装编译工具
yum install libtool yum install make yum install autoconf
- 编译
tar -xvf curl-*.tar.gz cd curl-* ./buildconf ./configure --with-ssl make sudo make install cp /usr/local/bin/curl /usr/bin/cur
- 结果
curl -V curl 7.85.0 (aarch64-unknown-linux-gnu) libcurl/7.85.0 OpenSSL/1.0.2k-fips zlib/1.2.7 Release-Date: 2022-08-31 Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets
curl - Download