I am trying to run a libcurl program, but I am getting the following error:
fatal error: curl/curl.h: No such file or directory
Can anyone give me step by step instructions to install libcurl on a linux machine. Thanks in advance.
I found this result on Google, but I'm using Fedora, and had to use this command:
sudo yum install libcurl-devel
Hopefully, this will help someone who is trying to do what I just did.
@ compile time linkit
gcc -Wall hellWeb.c -lcurl -o helloWeb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With