The default curl in Ubuntu14.04 is in the usrbin directory, and the version is 7.35libcurl or 7.35. The newly downloaded curl is 7.48 and installed in usrlocalcurl. The curl version is 7.48 and the libcurl version is 7.35. If you delete curl under the usrbin directory, the default curl in curl... Ubuntu 14.04 in usrlocalcurl is in the usr/bin directory, and the version is 7.35 libcurl or 7.35.
The newly downloaded curl is 7.48, installed in/usr/local/curl. The curl version is 7.48, And the libcurl version is 7.35.
If you delete the curl in the/usr/bin directory, the curl version in/usr/local/curl is 7.48, And the libcurl version is 7.48.
If the latest curl is installed under/usr/, that is, the curl of the system is replaced, the curl version and libcurl version are both the latest.
What is the cause of this phenomenon?
Are php versions required to install curl of different versions?
Can a server upgrade cUrl overwrite the cUrl in the system?
Reply content:
The default curl in Ubuntu 14.04 is in the usr/bin directory. The version is 7.35 libcurl and 7.35.
The newly downloaded curl is 7.48, installed in/usr/local/curl. The curl version is 7.48, And the libcurl version is 7.35.
If you delete the curl in the/usr/bin directory, the curl version in/usr/local/curl is 7.48, And the libcurl version is 7.48.
If the latest curl is installed under/usr/, that is, the curl of the system is replaced, the curl version and libcurl version are both the latest.
What is the cause of this phenomenon?
Are php versions required to install curl of different versions?
Can a server upgrade cUrl overwrite the cUrl in the system?
First, do not confuse the system CURL with the php curl library. They exist independently.
In addition, to replace the version, you only need to rename the curl backup in the/usr/bin directory, and then soft link the new executable file to the/usr/bin directory.
ln -s /usr/local/curl /usr/bin/curl