树莓派 libcurl安装

来源:互联网 发布:linux系统解压tar.gz 编辑:程序博客网 时间:2024/05/16 11:46

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编译即可。



0 0