libcurl
libcurl provides a client-side URL transfer library that supports HTTP and many other protocols. It supports the cURL command-line transfer tool. I refer to the library as cURL elsewhere in the book.
You can find the project home for cURL at http://curl.haxx.se/, and you can find downloads at http://curl.haxx.se/download.html. Download the appropriate file and unpack, perhaps into your home directory. Create a CURL_HOME environment variable; here’s an example:
| export CURL_HOME=/home/jeff/curl-7.29.0 |
You can build the library using CMake.
| cd $CURL_HOME |
| mkdir build |
| cd build |
| cmake .. |
| make |
Get Modern C++ Programming with Test-Driven Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.