新安装的centos 8使用yum安装R时报错如下:
[root@localhost ~]# sudo yum install R
上次元数据过期检查:0:00:31 前,执行于 2021年04月16日 星期五 08时44分31秒。
错误:
问题: package R-4.0.4-1.el8.x86_64 requires R-devel = 4.0.4-1.el8, but none of the providers can be installed
– package R-devel-4.0.4-1.el8.x86_64 requires R-core-devel = 4.0.4-1.el8, but none of the providers can be installed
– conflicting requests
– nothing provides openblas-devel needed by R-core-devel-4.0.4-1.el8.x86_64
– nothing provides texinfo-tex needed by R-core-devel-4.0.4-1.el8.x86_64
(尝试添加 ‘–skip-broken’ 来跳过无法安装的软件包 或 ‘–nobest’ 来不只使用最佳选择的软件包)
因为这两个包(openblas-devel和texinfo-tex )在CentOS8下的powertools repo中,而且并没有被默认开启,因此需要手动开启:
dnf install ‘dnf-command(config-manager)’ –ysudo yum config–manager —set–enabled PowerTools
尊重他人劳动成果,转载请注明出处:Bluesky's blog » centos yum安装R时报错:nothing provides openblas-devel