centos7 安装oniguruma 解决 No package ‘oniguruma’ found的问题 2020年7月22日By 小兵 默认 centos7 安装 oniguruma,不需通过代码编译的方式。可以通过 eple进行安装。在编译安装php7.4的时候遇到了这个问题。 # Author: www.phpjiaocheng.com yum install epel-release # 安装好后就可以查到 yum list | grep "oniguruma" Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast oniguruma.x86_64 6.8.2-1.el7 epel oniguruma-devel.x86_64 6.8.2-1.el7 epel PHPCopy 在一台老机器(系统也是centos7 )找不这个安装包。经过排查发现是epel的版本比较老。删除后安装新的即可。 yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm PHPCopy 链接: https://fedoraproject.org/wiki/EPEL/zh-cn 文章导航 composer切换到国内镜像的设置方法composer使用国内的阿里云镜像进行加速的方法 留言 取消回复您的电子邮箱地址不会被公开。 必填项已用 * 标注