EPEL和Codeready builder AWS EC2 RHEL8
我正在运行一个带有RHEL8AMI的EC2实例 我希望在实例上安装R,我相信我需要EPEL包,并通过以下两个命令启用codeready builderEPEL和Codeready builder AWS EC2 RHEL8,r,linux,amazon-web-services,amazon-ec2,redhat,R,Linux,Amazon Web Services,Amazon Ec2,Redhat,我正在运行一个带有RHEL8AMI的EC2实例 我希望在实例上安装R,我相信我需要EPEL包,并通过以下两个命令启用codeready builder sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf config-manager --set-enabled rhui-codeready-builder-for-rhel-8-rhui-rpms
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf config-manager --set-enabled rhui-codeready-builder-for-rhel-8-rhui-rpms
更多信息请访问
我可以很好地下载epel第一行,但当我运行第二行时,我得到以下信息:
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Error: No matching repo to modify: rhui-codeready-builder-for-rhel-8-rhui-rpms.
This system has no repositories available through subscriptions.
此外,当我尝试运行以下操作时,我会得到以下结果:
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Error: No matching repo to modify: rhui-codeready-builder-for-rhel-8-rhui-rpms.
This system has no repositories available through subscriptions.
为了完整起见,这是我尝试安装R时的错误
$sudo yum install -y R
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:52:36 ago on Mon 04 May 2020 01:17:58 AM UTC.
Error:
Problem: package R-3.6.3-1.el8.x86_64 requires R-devel = 3.6.3-1.el8, but none of the providers can be installed
- package R-devel-3.6.3-1.el8.x86_64 requires R-core-devel = 3.6.3-1.el8, but none of the providers can be installed
- conflicting requests
- nothing provides openblas-devel needed by R-core-devel-3.6.3-1.el8.x86_64
- nothing provides texinfo-tex needed by R-core-devel-3.6.3-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
有没有人有什么想法或解决了同样的问题?我刚写完就解决了这个问题 作为任何人的参考,似乎AWS的命令写错了 仍然下载epel包,如上所示 sudo dnf安装-y 而不是AWS网站上的以下内容
sudo dnf config-manager --set-enabled rhui-codeready-builder-for-rhel-8-rhui-rpms
你可以用
sudo dnf config-manager --set-enabled codeready-builder-for-rhel-8-rhui-rpms
然后继续使用sudo yum安装-y R