Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

The dependencies I have already installed so far are: cups-1.3.7-30.el5_9.3.x86_64.rpm
tetex-dvips-3.0-33.15.el5_8.1.x86_64.rpm desktop-file-utils-0.10-7.x86_64.rpm
tetex-latex-3.0-33.15.el5_8.1.x86_64.rpm ghostscript-8.70-14.el5_8.1.x86_64.rpm
tk-8.4.13-5.el5_1.1.i386.rpm libICE-1.0.1-2.1.i386.rpm
xdg-utils-1.0.2-2.el5.centos.noarch.rpm libSM-1.0.1-3.1.i386.rpm

share|improve this question

migrated from stackoverflow.com Nov 25 '13 at 13:43

This question came from our site for professional and enthusiast programmers.

OK, I may be wrong, as long as R is considered "a software tool commonly used by programmers": meta.stackexchange.com/questions/130246/… –  Ben Bolker Nov 24 '13 at 23:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.