linux - Installing R core rpms on centos - Need a best way to resolve dependencies

06
2014-04
  • Questioner

    I am newbie to the Linux. I need to know the best way to handle the dependencies.

    The issue is, I need to install R - core and R - dev (R language packages) on an platenized centos linux host on which there is no internet connectivity.

    I checked with my Technology manager and he suggested it is not a good idea to install the packages via internet on a platenized(appliance blasted) as it wouldn't scale and the installed packages will be removed every time we activate the host. He told me to prepare my own packages and scripts which installs R packages offline as part of the host activation.

    After a quick internet search I figured out that using rpm we can install these packages and I downloaded the R language RPMs. Now the problem is when I install them using

    rpm --install .rpm

    It says few dependencies are missing, and when I download the dependencies, those dependencies are asking for some more dependencies like this, a dependency tree is formed as it seems. The dependencies involves lot of basic linux libraries like perl, tetex-latex, gcc, gc++, gfotran, etc etc.. As the host is appliance blasted, all of these basic libraries are not installed already.. So in a nut shell I might need to figure out 150+ dependencies and download the respective rpms and install them.

    Am I doing some thing wrong?? Is there any easy way we can do this? I do know using a package manager like yum and setting up a local repository would help but how would I figure out entire dependency tree for my all R packages? Is there anybody over the internet already downloaded all these dependencies and prepared a big packages which doesn't require any dependency resolution??

    Any help please..

    The packages that I am trying to install are: libRmath-2.10.0-2.el5.i386.rpm
    libRmath-devel-2.10.0-2.el5.i386.rpm
    R-2.10.0-2.el5.i386.rpm
    R-core-2.10.0-2.el5.i386.rpm
    R-devel-2.10.0-2.el5.i386.rpm

    The dependencies I have already installed so far are: cups-1.3.7-30.el5_9.3.x86_64.rpm
    libXmu-1.0.2-5.i386.rpm
    tetex-dvips-3.0-33.15.el5_8.1.x86_64.rpm desktop-file-utils-0.10-7.x86_64.rpm
    libXt-1.0.2-3.2.el5.i386.rpm
    tetex-latex-3.0-33.15.el5_8.1.x86_64.rpm ghostscript-8.70-14.el5_8.1.x86_64.rpm
    netpbm-progs-10.35.58-10.el5.x86_64.rpm
    tk-8.4.13-5.el5_1.1.i386.rpm libICE-1.0.1-2.1.i386.rpm
    perl-File-Copy-Recursive-0.38-4.el6.noarch.rpm
    xdg-utils-1.0.2-2.el5.centos.noarch.rpm libSM-1.0.1-3.1.i386.rpm
    tetex-3.0-33.15.el5_8.1.x86_64.rpm

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    Subversion installation on CentOS 5 - Missing Dependency perl(URI)
  • ina

    Trying to install subversion on CentOS 5 server. "yum install subversion" runs into the prob of

    Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.4.2-4.el5_3.1.i386 (base)
    Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.4.2-4.el5_3.1.x86_64 (base)
    

    Looking thru RPM repositories, it looks like there doesn't appear to be perl-URI for CentOS 5... Is there a way to install subversion for CentOS5 that doesn't require perl(URI) - or some other way to install CentOS5?


  • Related Answers
  • Ignacio Vazquez-Abrams

    perl(URI) is provided by the perl-URI package in the base repo. Most likely it is excluded because your control panel or virtualization solution has perl-* packages excluded due to the fact that they interfere with their own packages. Contact your control panel or virtualization solution provider for a fix.