先下载一个yum源:
rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-2-1.rhel6.noarch.rpm
然后修改该repo的enable为1。
vim /etc/yum.repos.d/city-fan.org.repo
最后执行升级命令:
yum update curl --enablerepo=city-fan.org -y
先下载一个yum源:
rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-2-1.rhel6.noarch.rpm
然后修改该repo的enable为1。
vim /etc/yum.repos.d/city-fan.org.repo
最后执行升级命令:
yum update curl --enablerepo=city-fan.org -y