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 http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/libcurl-7.29.0-2.0.cf.rhel6.x86_64.rpm

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 libcurl-7.29.0-2.0.cf.rhel6.x86_64 libssh2(x86-64) >= 1.4.3 is needed by libcurl-7.29.0-2.0.cf.rhel6.x86_64

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 "city-fan.org" repo for these dependencies: http://www.city-fan.org/ftp/contrib/yum-repo/ And install it with yum command.

It should be something like this:

rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-12.rhel6.noarch.rpm
yum install libcurl
share|improve this answer

Try executing these commands:

rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-12.rhel6.noarch.rpm
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

 
discard

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.