在RHEL 6上安装R [英] Installing R on RHEL 6

查看:113
本文介绍了在RHEL 6上安装R的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题与此类似- 在Linux CentOS 6.3上安装R的问题

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

我安装了epel,但是当我运行yum install R时,我遇到了两个依赖问题-

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

错误:软件包:R-core-3.0.1-2.el6.x86_64(epel) 要求:libjpeg.so.62(LIBJPEG_6.2)(64bit)

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

错误:软件包:R-core-devel-3.0.1-2.el6.x86_64(epel) 需要:texinfo-tex

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

我尝试使用来自-的rpm文件安装texinfo-tex 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

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

但是,这使我陷入了一棵缺少依赖关系的长长的树中.我下载并尝试安装5个不同的rpm文件,每次都缺少一些依赖项.答:这只是该依赖关系树的一个分支.我认为,必须有一个更好的方法.可以帮忙吗?这真让我发疯.

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.

我正在尝试的另一种选择是从源代码构建R.不知道这是否会在缺少包的情况下起作用.但是,目前它说它找不到一个fortran编译器(找不到F77编译器").我安装了gcc,以为它会有一个,但显然没有.

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.

推荐答案

subscription-manager repos-启用rhel-6-server-optional-rpms

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

yum install texinfo-tex

yum install texinfo-tex

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

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

yum install R

yum install R

欢呼马滕

这篇关于在RHEL 6上安装R的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆