标签:bak 链接 href baidu github hub git build 步骤
wget https://github.com/curl/curl/archive/refs/tags/curl-7_76_0.tar.gz || wget http://download.zhufunin.com/curl-7_76_0.tar.gz
./buildconf
curl需要开启https访问的功能,需要用到openssl, 首先用源码编译安装最新的openssl, 安装步骤,见链接
#请确保/usr/local/openssl/是openssl源码安装的目录
./configure --with-ssl=/usr/local/openssl/ --prefix=/usr/local/curl
make
make install
/usr/local/curl/bin/curl -V
/usr/local/curl/bin/curl -v https://www.baidu.com
mv /usr/bin/curl/usr/bin/curl.bak
ln -s /usr/local/curl/bin/curl/usr/bin/curl
curl -V
curl -v https://www.baidu.com
标签:bak 链接 href baidu github hub git build 步骤
原文地址:https://www.cnblogs.com/faberbeta/p/14808229.html