我无法在RHEL 6中安装R.
1)
rpm -ivh epel-release-6-8.noarch.rpm
" package epel-release-6-8.noarch.rpm"已安装。
2)运行后,sudo yum update
sudo yum install R
加载的插件:别名,changelog,kabi,presto,product-id,refresh-packagekit,rhnplugin,search-disabled-repos,security,subscription-manager,tmprepo,verify, :版本锁
This system is receiving updates from RHN Classic or RHN Satellite.
Loading support for Red Hat kernel ABI
Setting up Install Process
No package R available.
Error: Nothing to do
3)根据以前的各种帖子,我检查了是否启用了rhel选项:
yum repolist all
加载的插件:别名,changelog,kabi,presto,product-id,refresh-packagekit,rhnplugin,search-disabled-repos,security,subscription-manager,tmprepo,verify, :版本锁
This system is receiving updates from RHN Classic or RHN Satellite.
Loading support for Red Hat kernel ABI
repo id repo name status
rhel-source Red Hat Enterprise Linux 6Server - x86_64 - Source disabled
rhel-source-beta Red Hat Enterprise Linux 6Server Beta - x86_64 - Source disabled
rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64) enabled: 18,009
rhel-x86_64-server-extras-6 RHEL Server Extras (v. 6 for 64-bit x86_64) enabled: 51
rhel-x86_64-server-optional-6 RHEL Server Optional (v. 6 64-bit x86_64) enabled: 10,255
再添加一条信息 - 不确定它是否是关键信息。
根据下面的注释,标志需要更改为1。 https://bluehatrecord.wordpress.com/2014/10/13/installing-r-on-red-hat-enterprise-linux-6-5/
vim /etc/yum.repos.d/redhat.repo
[rhel-6-server-optional-rpms]
...
enabled = 1
但是,除少数头语句外,该文件为空。不确定它是否为空是原因。
我错过了哪一步?