C/C++教程

centos 安装R报错 nothing provides **

本文主要是介绍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 **的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!