Steps
1 Download Curl Package (you can find the latest version on this website http://curl.haxx.se/download/)
wget https://curl.haxx.se/download/curl-7.55.1.tar.gz
2) Decompression
TAR-XZVF curl-7.55.1.tar.gz
3) Overlay Installation
1 cd curl-7.55.1
2/configure
3 make
4 make install
4 Use Curl–version to check whether the update is successful
Problem occurred: Error while loading shared Libraries:libcurl.so.4:cannot open Shared object file:no such file or directory
Workaround:
Find the location of all relevant so libraries in Libcurl and add Libcurl to the directory of so libraries in/etc/ld.so.conf.
Go to the root directory/, execute Find-name libcurl.so, and you will find your directory.
Join the/usr/local/lib in/etc/ld.so.conf,
Save/etc/ld.so.conf
The Execute command/sbin/ldconfig-v takes effect.
Reprint: http://blog.csdn.net/zhouzhenhe2008/article/details/53768854