Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

i have centos 5.9, with curl 7.15.5. i need curl 7.16.2+ .

i'm a novice webmaster...if that. but would like to try.

what are the commands to add a yum rpm repo so i can update the curl version, if this makes sense?

is his of any use: http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/


share|improve this question

migrated from serverfault.com Oct 12 '13 at 19:34

This question came from our site for system and network administrators.

up vote 2 down vote accepted

I doubt if it will work with the rpm:s you're linking to.

Downnload and install the sourcerpm, curl-7.32.0-2.0.cf.fc12.src.rpm from that link, or get curl-7.27.0-12.fc18.src.rpm from fedora repos.

then get the yum-utils package and run:

sudo yum-builddep curl-7.32.0-2.0.cf.fc10.src.rpm

then install the source package, rpmbuild it and you'll get the rpm needed.

You can do this on a separate build box.

share|improve this answer

The easiest way is to just download the rpm directly and install it:

Let's take curl-7.32.0-2.0.cf.fc10.x86_64.rpm for example.

wget http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/curl-7.32.0-2.0.cf.fc10.x86_64.rpm

rpm -i curl-7.32.0-2.0.cf.fc10.x86_64.rpm

There may be dependencies for curl that you will need to update/install as well.

share|improve this answer

Your Answer


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