78

Could you help me install curl.h library?

  • 1
    There should be a curl-dev (or something like that) package available. –  Nov 11 '11 at 07:26
  • How did you installed the curl package? –  Nov 11 '11 at 07:27
  • 1
    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. –  Nov 11 '11 at 07:33
  • 1
    @BasileStarynkevitch: Debian does not have libcurl-dev. It has libcurl4-openssl-dev and libcurl4-gnutls-dev and I don't think Ubuntu would differ. –  Nov 11 '11 at 07:37
  • 1
    libcurl-dev is a virtual package on Debian. I have it on Debian/Sid. –  Nov 11 '11 at 07:38

1 Answers1

129
apt-get install libcurl4-gnutls-dev

or

apt-get install libcurl4-openssl-dev

or

apt-get install libcurl4-nss-dev

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

Jan Hudec
  • 1,516