Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Thought this would be a simple process, but I guess not. I need the latest version of CURL (7.23 or newer) on CentOS 6.3.

If I do this:

sudo yum upgrade curl

It just tells me there is nothing to do (everything is up to date).

So I followed some other ServerFault posts, and tried this:

sudo rpm -i

But that tells me:

warning: /var/tmp/rpm-tmp.4L8Nyj: Header V3 DSA/SHA1 Signature, key ID b56a8bac: NOKEY error: Failed dependencies: c-ares(x86-64) >= 1.9.1 is needed by libssh2(x86-64) >= 1.4.3 is needed by

So what do I actually have to do to get this upgraded?

share|improve this question
up vote 7 down vote accepted

The package you want to install need dependencies which aren't in standart repositories. Use "" repo for these dependencies: And install it with yum command.

It should be something like this:

rpm -Uvh
yum install libcurl
share|improve this answer

Try executing these commands:

rpm -Uvh
yum install libcurl

And restart your Apache afterwards.

service httpd restart

Run phpinfo() and it will show new curl version.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.