http://curl.haxx.se/download.html 地址下载最新版本源码
解压源码包: tar -xzvf curl-7.38.0.tar.gz
进入源码目录: cd curl-7.38.0/
配置编译环境
./configure --prefix=/usr/local/curl --disable-shared --enable-static --without-libidn --without-ssl --without-librtmp --without-gnutls --without-nss --without-libssh2 --without-zlib --without-winidn --disable-rtsp --disable-ldap --disable-ldaps --disable-ipv6
编译:
make
安装:
make install