Tag Archives: curl.h

Running C curl code on LINUX/UBUNTU

Apart from default installations following is required:
apt-get update
apt-get install libcurl4-openssl-dev

How to run the code?
gcc code_filename -l curl -o compiled_filename

– l is used to link the compiler with curl. This shall make sure there is no curl.h import error.

References:
http://askubuntu.com/questions/78183/installing-curl-h-library

Tagged , , , , ,