如何为centos安装特定软件包

问题描述 投票:0回答:1

尝试在centos中安装特定版本的phphttps://www.linuxtechi.com/install-php-7-centos-7-rhel-7-server/

yum install epel-release yum-utils -y
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum-config-manager --enable remi-php70
yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql -y

现在,当我尝试安装其他软件包时,例如。 yum install svn,出现此错误

failure: repodata/repomd.xml from remi-release: [Errno 256] No more mirrors to try.
http://rpms.remirepo.net/enterprise/remi-release-7.rpm/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

这是为centos安装特定软件包的一种非常方便的方法谢谢

php centos rpm yum
1个回答
0
投票

采用以下链接。可能对您有帮助https://www.centos.org/forums/viewtopic.php?t=871

© www.soinside.com 2019 - 2024. All rights reserved.