1.先执行
dnf install epel-release
2.再执行
dnf install R
3.然后会发现报
Error:
Problem: package R-3.6.2-1.el8.x86_64 requires R-devel = 3.6.2-1.el8, but none of the providers can be installed
- package R-devel-3.6.2-1.el8.x86_64 requires R-core-devel = 3.6.2-1.el8, but none of the providers can be installed
- conflicting requests
- nothing provides texinfo-tex needed by R-core-devel-3.6.2-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
4.遇到这个问题先执行这两句命令
dnf install 'dnf-command(config-manager)'
dnf config-manager --set-enabled PowerTools
5.再执行install
dnf install R
6.Over!!!