I am trying to install R-core for Oracle Enterprise Linux 5 update 6 in order to deploy a R server on it. According to the installation manual I should be using Oracle's public yum server to download and install R (http://docs.oracle.com/cd/E27988_01/doc/doc.112/e26499/install.htm#BABDFEDA).
However following the guide, setting up yum repository and everything is working fine, when I key in "yum install R.x86_64" it returns there is no such package. I scanned the public yum folders and found no R rpms. May I know where should I get the rpms or where should I point the yum to look for the R packages?
The R-core RPM is located in http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/addons/x86_64/.
Go to http://public-yum.oracle.com/ and follow these steps to install R:
Install the yum repos as follows:
Open a text editor on the file just downloaded, /etc/yum.repos.d/public-yum-el5.repo, and set "enabled=1" for [ol5_u6_base] and [el5_addons].
This step is optional.
Type the following commands in a shell to check that your yum repository is configured correctly:
sudo yum repolist
The output should look like this:
el5_addons | 951 B 00:00
ol5_u6_base | 1.1 kB 00:00
repo id repo name status
base Red Hat Linux - Base enabled: 3,024
el5_addons Enterprise Linux 5 - x86_64 - addons enabled: 93
ol5_u6_base Oracle Linux 5 - U6 - x86_64 - base enabled: 4,551
Make sure that both the el5_addons and ol5_u6_base repos are listed. The list of repos can be different depending on the Linux version and current user's configuration of yum.