在EC2 RHEL 7上安装R.

时间:2016-08-22 01:32:36

标签: r amazon-ec2 rhel7

有没有人在AWS / EC2 RHEL 7.2上有运气?

我运行了sudo yum install -y epel-release来访问EPEL包。 接下来我尝试了sudo yum install R,但它失败了:

Error: Package: R-core-devel-3.3.1-1.el7.x86_64 (epel) Requires: texinfo-tex

我看到有人提到你需要允许可选包获得texinfo-tex,但这些似乎都不适用于AWS。例如,我试过这个无济于事:sudo yum --enablerepo=rhel-7-server-optional-rpms install R

如果我尝试:sudo yum --skip-broken install R,则会显示以下消息:

Packages skipped because of dependency problems: GConf2-3.2.6-8.el7.x86_64 from rhui-REGION-rhel-server-releases R-3.3.1-1.el7.x86_64 from epel R-core-3.3.1-1.el7.x86_64 from epel R-core-devel-3.3.1-1.el7.x86_64 from epel R-devel-3.3.1-1.el7.x86_64 from epel R-java-devel-3.3.1-1.el7.x86_64 from epel bzip2-devel-1.0.6-13.el7.x86_64 from rhui-REGION-rhel-server-releases flac-libs-1.3.0-5.el7_1.x86_64 from rhui-REGION-rhel-server-releases gcc-gfortran-4.8.5-4.el7.x86_64 from rhui-REGION-rhel-server-releases gsm-1.0.13-11.el7.x86_64 from rhui-REGION-rhel-server-releases 1:java-1.7.0-openjdk-1.7.0.111-2.6.7.2.el7_2.x86_64 from rhui-REGION-rhel-server-releases 1:java-1.7.0-openjdk-devel-1.7.0.111-2.6.7.2.el7_2.x86_64 from rhui-REGION-rhel-server-releases 1:java-1.7.0-openjdk-headless-1.7.0.111-2.6.7.2.el7_2.x86_64 from rhui-REGION-rhel-server-releases libasyncns-0.8-7.el7.x86_64 from rhui-REGION-rhel-server-releases libicu-devel-50.1.2-15.el7.x86_64 from rhui-REGION-rhel-server-releases 2:libogg-1.3.0-7.el7.x86_64 from rhui-REGION-rhel-server-releases libquadmath-devel-4.8.5-4.el7.x86_64 from rhui-REGION-rhel-server-releases libsndfile-1.0.25-10.el7.x86_64 from rhui-REGION-rhel-server-releases 1:libvorbis-1.3.3-8.el7.x86_64 from rhui-REGION-rhel-server-releases pcre-devel-8.32-15.el7_2.1.x86_64 from rhui-REGION-rhel-server-releases pcsc-lite-libs-1.8.8-6.el7.x86_64 from rhui-REGION-rhel-server-releases psmisc-22.20-9.el7.x86_64 from rhui-REGION-rhel-server-releases pulseaudio-libs-6.0-7.el7.x86_64 from rhui-REGION-rhel-server-releases 1:tcl-devel-8.5.13-8.el7.x86_64 from rhui-REGION-rhel-server-releases 1:tk-devel-8.5.13-6.el7.x86_64 from rhui-REGION-rhel-server-releases tre-devel-0.8.0-10.el7.x86_64 from epel xz-devel-5.1.2-12alpha.el7.x86_64 from rhui-REGION-rhel-server-releases

它必须是简单的东西,但我无法弄清楚。

1 个答案:

答案 0 :(得分:4)

尝试一下,我觉得它会解决你的一些问题:

yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional

我可能有这种感觉,因为我们在聊天中一起发现它:)

显然有人遇到这个问题并在安装名为Kaltura的软件包时解决了这个问题:

https://thomas-barthelemy.github.io/2015/03/19/ec2-epel-rhel7/