Javier Blasco February 2016

How do I upgrade curl in Centos 5.11?

Could someone please direct me on how to upgrade curl on my centOS 5.11 server?

My current version: curl --version curl 7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 Protocols: tftp ftp telnet dict ldap http file https ftps Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

Answers


Tbalz February 2016

1) create a new file /etc/yum.repos.d/city-fan.repo

2) Paste the following contents:

[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0

3) type:

yum clean all
yum install curl 

4) And it should work

Observe that for other rhel/centos versions, all you have to do is specify the appropriate city-fan url

Post Status

Asked in February 2016
Viewed 3,521 times
Voted 10
Answered 1 times

Search




Leave an answer