Installing R on RHEL7

Larry Martell larry.martell at gmail.com
Mon Jul 17 23:31:18 UTC 2017


On Mon, Jul 17, 2017 at 6:54 PM, R P Herrold <herrold at owlriver.com> wrote:
> On Mon, 17 Jul 2017, Larry Martell wrote:
>
>> I am trying to install R on RHEL7. It fails with a lot of messages of
>> this form about different packages:
>
> R is in the EPEL (7) adjunct archive
>
> [herrold at centos-7 ~]$ sudo su -
> [sudo] password for herrold:
> Last login: Mon Jul 17 18:04:09 EDT 2017 on tty1
> [root at centos-7 ~]# yum install R
> ...
> Package R-3.4.0-2.el7.x86_64 already installed and latest  version
>
> #       so I uninstall it
> [root at centos-7 ~]# rpm -e R
> [root at centos-7 ~]# yum install R
>  ...
> =================================================================================
>  Package       Arch               Version
> Repository        Size
> =================================================================================
> Installing:
>  R             x86_64             3.4.0-2.el7             epel
> 27 k
>
> ----------
>
> you may need to enable the epel repository ... as I run
> binaries from the CentOS sources rebuild project,
> rather than RHEL from Red Hat, I do not know the package name
> to do that -- but see:
>
>         https://fedoraproject.org/wiki/EPEL
>
> see particularly the: NOTE for RHN users

Thanks. I had seen something about EPEL in a few of the many SO posts
I read, and I had done this:

sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

The NOTE for RHN users section mentions that I need the optional and
extras packages, but I have not figured out how to install them (I am
not a sys admin) I found this:

https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/supplementary-repos

but when I tried what I read there I get:

This system has no repositories available through subscriptions.




More information about the redhat-list mailing list