Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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/

thanks.

share|improve this question

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

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

2 Answers 2

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

 
discard

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