CentOS 6 update curl

touch /etc/yum.repos.d/city-fan.repo

vi /etc/yum.repos.d/city-fan.repo

add the following:

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

yum info curl
yum update curl
原文地址:https://www.cnblogs.com/Jerryshome/p/10239954.html