Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

could you help me install curl.h library? I am creating a program that makes use of this C library. I'm on Ubuntu Linux. Thanks.

share|improve this question
1  
There should be a curl-dev (or something like that) package available. –  mu is too short Nov 11 '11 at 7:26
    
How did you installed the curl package? –  Tio Pepe Nov 11 '11 at 7:27
    
sudo aptitude install libcurl-dev is the command to install libcurl on Ubuntu. Unless you have particular reasons, I suggest using the package provided by your distribution, not to install by hand. –  Basile Starynkevitch Nov 11 '11 at 7:33
    
@BasileStarynkevitch: Debian does not have libcurl-dev. It has libcurl4-openssl-dev and libcurl4-gnutls-dev and I don't think Ubuntu would differ. –  Jan Hudec Nov 11 '11 at 7:37
    
libcurl-dev is a virtual package on Debian. I have it on Debian/Sid. –  Basile Starynkevitch Nov 11 '11 at 7:38
add comment

migrated from stackoverflow.com Nov 11 '11 at 7:53

This question came from our site for professional and enthusiast programmers.

2 Answers

The complete install and using process is here..

Follow it...

http://curl.haxx.se/docs/install.html

share|improve this answer
add comment
apt-get install libcurl4-gnutls-dev

or

apt-get install libcurl4-openssl-dev

depending on whether you want to use gnutls or openssl for SSL.

share|improve this answer
    
Only improvement to this answer would be to explain why you would choose one over the other. –  Dobes Vandermeer Mar 31 at 18:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.