CentOS 7、8 安装oniguruma和oniguruma-devel

CentOS 7/8 安装 oniguruma和oniguruma-devel 。解决configure: error: Package requirements (oniguruma) were not met: Package 'oniguruma', required by 'virtual:world', not found问题。

CentOS 7 安装

1
2
yum -y install http://mirror.centos.org/centos-7/7.7.1908/cloud/x86_64/openstack-queens/oniguruma-6.7.0-1.el7.x86_64.rpm
yum -y install http://mirror.centos.org/centos-7/7.7.1908/cloud/x86_64/openstack-queens/oniguruma-devel-6.7.0-1.el7.x86_64.rpm

备用下载:

1
2
oniguruma:http://down.24kplus.com/linux/oniguruma/oniguruma-6.7.0-1.el7.x86_64.rpm
oniguruma-devel:http://down.24kplus.com/linux/oniguruma/oniguruma-devel-6.7.0-1.el7.x86_64.rpm

CentOS 8 安装

1、获取源码,并解压

1
2
3
wget https://github.com/kkos/oniguruma/archive/v6.9.4.tar.gz -O oniguruma-6.9.4.tar.gz
tar -zxf oniguruma-6.9.4.tar.gz
cd oniguruma-6.9.4

备用下载:

http://down.24kplus.com/linux/oniguruma/oniguruma-6.9.4.tar.gz

2、编译安装

1
2
./autogen.sh && ./configure --prefix=/usr
make && make install
博主QQ:1012405802
技术交流QQ群:830339411
版权声明:网站内容有原创和转载,如有侵权,请联系删除,谢谢!!
感谢打赏,93bok因你们而精彩!!(支付宝支持花呗)
0%