centos 安装R报错 nothing provides **

1. 安装R报错
 1 > yum install R
 2 Failed to set locale, defaulting to C.UTF-8
 3 Extra Packages for Enterprise Linux Modular 8 - x86_64                      956 kB/s | 927 kB     00:00    
 4 Extra Packages for Enterprise Linux 8 - x86_64                              5.3 MB/s |  10 MB     00:01    
 5 Error: 
 6  Problem: package R-4.0.5-1.el8.x86_64 requires R-devel = 4.0.5-1.el8, but none of the providers can be installed
 7   - package R-devel-4.0.5-1.el8.x86_64 requires R-core-devel = 4.0.5-1.el8, but none of the providers can be installed
 8   - conflicting requests
 9   - nothing provides openblas-devel needed by R-core-devel-4.0.5-1.el8.x86_64
10   - nothing provides texinfo-tex needed by R-core-devel-4.0.5-1.el8.x86_64
11 (try to add --skip-broken to skip uninstallable packages or --nobest to use not only best candidate packages)

 


2.解决问题:

# 0.

yum install make gcc gcc-c++ libcurl-devel libxml2-devel openssl-devel texlive-*

# 1. yum install dnf-plugins-core # 2. yum config-manager --set-enabled powertools # or yum config-manager --set-enabled PowerTools

# 3.
yum install R

 

centos 安装R报错 nothing provides **

上一篇:Mybatis-plus代码生成器


下一篇:二叉树的四种遍历方法(递归非递归)