https://www.shayanderson.com/linux/install-curl-development-library-curl-h-for-c-on-ubuntu.htm



Install the cURL development library for Ubuntu (in this example Ubuntu 12.10) for C development use:# apt-get install libcurl4-openssl-devThis will provide SSL support, or if you don't require SSL support use:# apt-get install libcurl4-gnutls-devYou should now be able to see the cURL files on the system:# ls -l /usr/include/curl 
total 176 
-rw-r--r-- 1 root root 7063 Dec 6 19:09 curlbuild.h 
-rw-r--r-- 1 root root 83849 Dec 6 19:09 curl.h 
-rw-r--r-- 1 root root 8901 Dec 6 19:09 curlrules.h 
...
And you should be able to use cURL in your C code:#include <curl/curl.h>For cURL requests.

AND