Skip to content

Installing R 3.4.0 on Red Hat 6

5 messages · Larry Martell, Tom Callaway

#
I am trying to install R 3.4.0 on RHEL6. If I look here is it there:

http://mirror.sjc02.svwh.net/fedora-epel/6/x86_64/

I did this:

sudo subscription-manager repos --enable rhel-6-server-optional-rpms
sudo subscription-manager repos --enable rhel-6-server-extras-rpms
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm epel-release-latest-6.noarch.rpm

Which all worked OK. And then I did:

sudo yum install R

Loaded plugins: dellsysid, product-id, refresh-packagekit, security,
subscription-manager
Setting up Install Process
No package R available.

How can I install 3.4.0?

Thanks!
#
On 07/21/2017 11:18 AM, Larry Martell wrote:
Try this instead:

rpm -Uvh epel-release-latest-6.noarch.rpm

You also may want to install from epel-testing, 3.4.1 is in there.

sudo yum --enablerepo=epel-testing install R

~tom
#
On Fri, Jul 21, 2017 at 11:39 AM, Tom Callaway <tcallawa at redhat.com> wrote:
That gave me:

package epel-release-6-8.noarch is already installed
That gave me:

Error getting repository data for epel-testing, repository not found
#
Hmmm. When I look at the contents of epel-release-latest-6.noarch.rpm, I
see:

/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
/etc/rpm/macros.ghc-srpm
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/epel.repo
/usr/share/doc/epel-release-6
/usr/share/doc/epel-release-6/GPL

Do you have those .repo files in /etc/yum.repos.d/ ?

~tom


On Fri, Jul 21, 2017 at 11:41 AM, Larry Martell <larry.martell at gmail.com>
wrote:

  
  
#
On Fri, Jul 21, 2017 at 11:44 AM, Tom Callaway <tcallawa at redhat.com> wrote:
This is the contents of that dir:

docker.repo
jenkins.repo
mysql-community.repo
mysql-community-source.repo
redhat.repo
remi.repo
rhel-source.repo
rhscl-python27-epel-6-x86_64.repo
scl.repo