Installing R on RHEL 6

断了今生、忘了曾经 提交于 2019-12-01 02:18:24

on RHEL6.4 do

subscription-manager repos --enable rhel-6-server-optional-rpms

yum install texinfo-tex

rpm -ivh http://mirror.unl.edu/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum install R

cheers Marten

I have the exact same problem and have spent about 3 hours attempting to find a yum repository out there for RHEL 6 that can solve this problem. So far, it appears that whoever added this dependency didn't actually try and install it once they added the dependency. These dependency mappings don't appear to exist anywhere in any repo that I can find.

So I got frustrated and tried this command

yum install texinfo-tex-4.13a-8.el6.x86_64.rpm

and it worked

    Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
CentALT                                                  |  951 B     00:00     
elrepo                                                   | 2.9 kB     00:00     
epel/metalink                                            |  13 kB     00:00     
epel-testing/metalink                                    |  13 kB     00:00     
mongodb                                                  |  951 B     00:00     
puppetlabs-enterprise-extras                             | 1.9 kB     00:00     
remi                                                     | 2.9 kB     00:00     
rhel-source                                              | 2.5 kB     00:00     
rhel-x86_64-server-6                                     | 1.8 kB     00:00     
rpmforge                                                 | 1.9 kB     00:00     
scl_python27                                             | 2.9 kB     00:00     
scl_ruby193                                              | 2.9 kB     00:00     
Setting up Install Process
Examining texinfo-tex-4.13a-8.el6.x86_64.rpm: texinfo-tex-4.13a-8.el6.x86_64
Marking texinfo-tex-4.13a-8.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package texinfo-tex.x86_64 0:4.13a-8.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch     Version         Repository                         Size
================================================================================
Installing:
 texinfo-tex   x86_64   4.13a-8.el6     /texinfo-tex-4.13a-8.el6.x86_64   387 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total size: 387 k
Installed size: 387 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : texinfo-tex-4.13a-8.el6.x86_64                               1/1 
  Verifying  : texinfo-tex-4.13a-8.el6.x86_64                               1/1 

Installed:
  texinfo-tex.x86_64 0:4.13a-8.el6                                              

Complete!

# yum install R
Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R.x86_64 0:3.0.1-2.el6 will be installed
--> Processing Dependency: R-devel = 3.0.1-2.el6 for package: R-3.0.1-2.el6.x86_64
--> Running transaction check
---> Package R-devel.x86_64 0:3.0.1-2.el6 will be installed
--> Processing Dependency: R-java-devel = 3.0.1-2.el6 for package: R-devel-3.0.1-2.el6.x86_64
--> Processing Dependency: R-core-devel = 3.0.1-2.el6 for package: R-devel-3.0.1-2.el6.x86_64
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.0.1-2.el6 will be installed
---> Package R-java-devel.x86_64 0:3.0.1-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch            Version              Repository     Size
================================================================================
Installing:
 R                     x86_64          3.0.1-2.el6          epel           19 k
Installing for dependencies:
 R-core-devel          x86_64          3.0.1-2.el6          epel           90 k
 R-devel               x86_64          3.0.1-2.el6          epel           19 k
 R-java-devel          x86_64          3.0.1-2.el6          epel           19 k

Transaction Summary
================================================================================
Install       4 Package(s)

Total download size: 147 k
Installed size: 326 k
Is this ok [y/N]: 

Installing R on 6.6 RHEL 64 bit machine

After going through many pages i found this steps, so thought to share as a quick steps:

wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

"It's a package which is preferred for RHEL machine."

sudo yum install tcl

“The Tcl package contains the Tool Command Language, a robust general-purpose scripting language. This package is known to build and work properly using an LFS-7.7 platform. This package is known to build and work properly using the gcc-5 compiler.”

sudo yum clean all

“Cleans the yum cache”

sudo yum install R

“For installing R”

linux_fanatic

Try this one

rpm -ivh http://mirror.unl.edu/epel/6/x86_64/epel-release-6-7.noarch.rpm

The second is:

#yum install R

Thanks & Regards,
Alok

Try sudo yum groupinstall “Development Tools”

This installs development tools which includes all compilers. I am also trying to install the same. Tried building from source. Now trying to build with yum. Let's see how it goes

"I tried this.. it said "package epel-release-6-8.noarch is already installed". "

But not enabled... See: https://bluehatrecord.wordpress.com/2014/10/13/installing-r-on-red-hat-enterprise-linux-6-5/

I was having the same issue, And many seem to be getting stuck on this. The dependencies are available in the RedHat Repo [rhel-6-server-optional-rpms]. Enable the repo and R should install.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!