cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to install latest version of libcurl

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Wed, 12 Aug 2009 12:30:40 +0200

On Wednesday 12 of August 2009 11:02:54 Raghu PV wrote:
> Hi,
>
> Recently i started using libcurl 7.15.5 version on Redhat Linux 5 system to
> perform HTTP POST for upload test.
> I find some issues with libcurl 7.15.5 for multithreaded upload using
> pthreads in Linux.
>
> I would like to install latest version of libcurl (7.19.5) for Redhat Linux
> 5 system. Since am quite new to using libcurl,
> i would request anyone who has knowledge about this to list the
> procedure(commands) used to build the latest version from source?

Generally you have two choices:

1) Install it as a RPM package. You can try to build RPM yourself from using
a SRPM package.

2) Install the upstream version directly (independently on your distro) - in
this case its highly recommended to configure with --prefix=/usr/local to
avoid clash with the files managed by rpm. You can follow the instructions
here: http://curl.haxx.se/docs/install.html

Kamil
Received on 2009-08-12