Installing R on RHEL 6

2019-04-18 05:42发布

my questions is similar to this one - Problems installing R on Linux CentOS 6.3

I installed epel, but when I run yum install R, I get the two dependency problems -

Error: Package: R-core-3.0.1-2.el6.x86_64 (epel) Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)

Error: Package: R-core-devel-3.0.1-2.el6.x86_64 (epel) Requires: texinfo-tex

I tried installing texinfo-tex using the rpm file from - http://rpm.pbone.net/index.php3/stat/4/idpl/15993086/dir/scientific_linux_6/com/texinfo-tex-4.13a-8.el6.x86_64.rpm.html

However, this takes me into a long tree of missing dependencies. I downloaded and tried installing 5 different rpm files and each time there were some missing dependencies. Ans this was just one branch of this tree of dependencies. I figured, there has got to be a better way. Can some one help? This has been driving me nuts.

Edit: Another option I'm trying is building R from source. Not sure if this will work given the missing packages though. For now however, it says it can't find a fortran compiler ("No F77 compiler found"). I installed gcc, thinking that it would have one, but apparently not.

7条回答
Root(大扎)
2楼-- · 2019-04-18 06:11

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

查看更多
男人必须洒脱
3楼-- · 2019-04-18 06:13

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.

查看更多
啃猪蹄的小仙女
4楼-- · 2019-04-18 06:19

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”

查看更多
ゆ 、 Hurt°
5楼-- · 2019-04-18 06:22

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

查看更多
▲ chillily
6楼-- · 2019-04-18 06:25

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

查看更多
Juvenile、少年°
7楼-- · 2019-04-18 06:27

"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/

查看更多
登录 后发表回答