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.
'Part 3 > ¶ Linux (Ubuntu)' 카테고리의 다른 글
가상키보드 (0) | 2019.03.29 |
---|---|
install jsoncpp in linux (0) | 2018.10.02 |
VMware에 설치한 ubuntu의 인터넷이 안되는 경우 (0) | 2018.09.04 |
SSH RSA 비대칭키를 이용한 원격접속 (0) | 2018.08.14 |