Part 3/¶ Linux (Ubuntu)
crul.h 설치하기
CrlAYh
2018. 10. 1. 20:30
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-dev
This will provide SSL support, or if you don't require SSL support use:# apt-get install libcurl4-gnutls-dev
You should now be able to see the cURL files on the system:# ls -l /usr/include/curl
And you should be able to use cURL in your C code:
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
...#include <curl/curl.h>
For cURL requests.