树莓派 libcurl安装

1、安装

由于是树莓派系统,还不知道怎么配置yum,sudo apt-get install libcurl

sudo apt-
2.下载例子
从网上 http://curl.haxx.se/libcurl/c/example.html下载了一个allexample.zip文件。使用unzip 命令
unzip allexample.zip DirectoryExisted把文件加压到DirectoryExisted目录下
2.编译程序
使用gcc examplefile.c -lcurl编译即可。



你可能感兴趣的:(树莓派 libcurl安装)