尝试将 PHP 5.4 更新到 7.2 时,libcurl 包更新显示已安装 epel 7。如何从 centos 6 中删除它并安装 epel 6.8?
答案1
- 要删除当前
epel-release
使用:
或者yum remove epel-release yum update
rm /etc/yum.repos.d/epel.repo yum update
- 安装
epel-release 6.8
使用:
或者yum install https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum update
yum install https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm yum update