Results 1 to 8 of 8

Thread: How to install libcurl?

  1. #1
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,705
    Distro
    Ubuntu Development Release

    Cool How to install libcurl?

    I mean I have installed all the packages I found on synaptic about curl and nothing...I cannot see any output in
    Code:
    pkg-config --libs curl
    even after restart.


    What is the accurate package to download?
    Same thing with opencv....

  2. #2
    Join Date
    Oct 2007
    Beans
    1,914
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: How to install libcurl?

    Step 1: Have a look at an example source code for the libraries you want to use. Write down the name of a file you need (without path), e.g., "curl.h"

    Step 2: Go to http://packages.ubuntu.com and under "Search the contents of packages", type in the file name. Hit the search button.

    Step 3: Observe in which packages you can find the files. Which package names look correct? Install these packages.

    Note that for curl, there seem to be three versions. Google for details why this is the case and then pick the package appropriately.

    Also note that not all libraries support pkg-config. In that case, you will need to provide the include paths and library details manually to the compiler and linker.

  3. #3
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: How to install libcurl?

    Try "libcurl" instead of "curl":
    Code:
    pkg-config --libs libcurl

  4. #4
    Join Date
    Sep 2009
    Location
    Canada, Montreal QC
    Beans
    1,807
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How to install libcurl?

    There is the results of an apt-cache search:

    Code:
    cgroza@cgroz-pyNerd:~$ sudo apt-cache search libcurl
    [sudo] password for cgroza: 
    Sorry, try again.
    [sudo] password for cgroza: 
    libcurl4-nss-dev - Development files and documentation for libcurl (NSS)
    libcurl4-openssl-dev - Development files and documentation for libcurl (OpenSSL)
    fp-units-net - Free Pascal - networking units
    gnupg-curl - GNU privacy guard - a free PGP replacement (cURL)
    libcurl-ocaml - OCaml curl bindings (Runtime Library)
    libcurl-ocaml-dev - OCaml libcurl bindings (Development package)
    libghc6-curl-dev - GHC 6 libraries for the libcurl Haskell bindings
    libghc6-curl-doc - Documentation for the libcurl Haskell bindings
    libghc6-curl-prof - Profiling libraries for the libcurl Haskell bindings
    libghc6-hxt-curl-dev - LibCurl interface for HXT
    libghc6-hxt-curl-doc - LibCurl interface for HXT; documentation
    libghc6-hxt-curl-prof - LibCurl interface for HXT; profiling library
    liblua5.1-curl-dev - libcURL development files for the Lua language version 5.1
    liblua5.1-curl0 - libcURL bindings for the Lua language version 5.1
    libwww-curl-perl - Perl bindings to libcurl
    tclcurl - Tcl bindings to libcurl
    wmget - Background download manager in a Window Maker dock app
    gnupg - GNU privacy guard - a free PGP replacement
    libcurl3 - Multi-protocol file transfer library (OpenSSL)
    libcurl3-dbg - libcurl compilée avec les symboles de débogage
    libcurl3-gnutls - Bibliothèque de transfert de fichiers muti-protocoles (GnuTLS)
    libcurl3-nss - Multi-protocol file transfer library (NSS)
    libcurl4-gnutls-dev - Development files and documentation for libcurl (GnuTLS)
    python-pycurl - Liaisons Python pour libcurl
    python-pycurl-dbg - Liaisons Python pour libcurl (extension de débogage)
    cgroza@cgroz-pyNerd:~$
    I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
    Freedom is measured in Stallmans.
    Projects: gEcrit

  5. #5
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,705
    Distro
    Ubuntu Development Release

    Re: How to install libcurl?

    Quote Originally Posted by gmargo View Post
    Try "libcurl" instead of "curl":
    Code:
    pkg-config --libs libcurl
    Should I feel like an idiot now ?

  6. #6
    Join Date
    Jun 2011
    Beans
    1

    Lightbulb Re: How to install libcurl?

    I was having the same problem while trying to install the patron gem, and the following solved it for me:

    `apt-get install libcurl4-gnutls-dev'

  7. #7
    Join Date
    Jun 2011
    Location
    Glasgow
    Beans
    3
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to install libcurl?

    Quote Originally Posted by mltsy View Post
    I was having the same problem while trying to install the patron gem, and the following solved it for me:

    `apt-get install libcurl4-gnutls-dev'
    Thanks mltsy, installing this let me install biomaRt (R bioconductor package) in Ubuntu 11.10 (also had to install libxml2).

  8. #8
    Join Date
    Jan 2013
    Beans
    32

    Re: How to install libcurl?

    I've problem with libcurl too, I need it ot install opkg and it says it need libcurl I've installed libcurl3-dbg with package mannager and nuthin, it tells me to consider adjusting pkg_config_path but it don't know where I can find it

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •