Reputation: 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
Upvotes: 1
Views: 5316
Reputation: 692
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
Upvotes: 3