Installing R on Redhat 7 (EC2 RHEL 7)

Check you machine version:

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)

Now  lets updated the RPM repo details:

$ sudo su -c 'rpm -Uvh'
$ sudo yum update

Make sure all dependencies are installed individually:

$ wget
$ sudo yum localinstall blas-devel-3.4.2-5.el7.x86_64.rpm

$ wget
$ sudo yum localinstall blas-3.4.2-5.el7.x86_64.rpm

$ wget
$ sudo yum localinstall lapack-devel-3.4.2-5.el7.x86_64.rpm

$ wget
$ sudo yum install texinfo-tex-5.1-4.el7.x86_64.rpm

$ wget
$ sudo yum install texlive-epsf-svn21461.2.7.4-38.el7.noarch.rpm

Finally install R now:

$ sudo yum install R

Thats it.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s