REMI 仓库提供了CentOS和RHEL的核心包的更新版本,尤其是最新的PHP/MySQL系列(LCTT 译注:当你需要一个更新包,而 CentOS/RHEL 没有及时提供更新时, REMI 仓库可以帮助你),本篇文章重点为大家讲解一下CentOS 8下安装REMI 仓库具体方法。
在CentOS 8/RHEL 8上安装并启用REMI仓库
在系统终端中运行以下命令,在CentOS 8/RHEL 8上安装REMI仓库:
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
检查启用的仓库:
$ sudo yum repolist
返回的信息如下图:

你可以安装yum-config-manager,它将帮助你从命令行快速启用和禁用仓库:
sudo dnf -y install dnf-utils
然后,你可以在运行时启用仓库:
sudo dnf --enablerepo=remi install php-xxx
以上就是在RHEL 8/CentOS 8 Linux系统上安装REMI仓库的方法。
以上就是良许教程网为各位朋友分享的Linux系统相关内容。想要了解更多Linux相关知识记得关注公众号“良许Linux”,或扫描下方二维码进行关注,更多干货等着你 !
