I need to upgrade cURL to the latest version on Centos
2.6.18-164.15.1.el5.centos.plusxen #1 SMP Wed Mar 17 20:32:20 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I'm unable to find any suitable packages to do so via yum
or rpm
. Is there a standard way to do this upgrade without installing from source?
This is an old question, but it is still one the first results in google search, so I'd like post the solution that solved my problem.
Create a new file
/etc/yum.repos.d/city-fan.repo
Paste the following contents:
Type this into the terminal:
And it's done!
Observe that for other RHEL/CentOS versions, all you have to do is specify the appropriate CityFan URL.
Why do you need to upgrade curl? Is there a specific feature you're missing?
You can get it straight from the developer:
http://curl.haxx.se/download.html
Scroll down to the Redhat (thanks twirrim) listings, find a suitable RPM (RHEL5 based) and install.
Could not get taksan's answer to work for my setup here is what I used
more related answers can be found here Upgrading curl on centos 6: libcurl-7.50 requires libnghttp2
Latest stable curl verison is 7.22.0, but so far 7.19.7-16 is the CentOS latest. So you either have to find a repository that offers the latest build now or wait for the CentOS base repo to update the build.
I found a repo for you:
You could wget the libcurl and curls files from the link above and then
rpm –Uvh packagename
, install the libcurl and then the curls pack.