I will need to install R (http://www.r-project.org/) on a number of machines which do not have internet access; many of them will be running Windows, but I suspect some might run Linux, if so, likely Ubuntu (this is all the info I have at hand). The official R download page for Ubuntu (and other Linux distros, https://cran.rstudio.com/bin/linux/ubuntu/) explains how to do it using sudo apt-get (as do numerous other tutorials on the web).
However, how does one go about doing that when there's no internet? Which files should I download and how should I install them? I looked into the folders listed on the aforementioned website, but there's gigabytes of files there, separated for each recent Ubuntu version. The computers I will have to install R on may or may not have the same version, and might have another distribution as well.
Being myself mainly a Windows user, I'm a bit lost here (I do have a Ubuntu VM, if that helps for solving the problem). For Mac and Windows there are installers in the R download section, but for Linux it just redirects to this page. I did already figure out how to deal with the installation of packages, and of RStudio, but installing core R puzzles me.
sudo dpkg -i filesfolder/*deb
- or, something that I just found in another answer: "launch Synaptic and select File -> Add Package Downloaded"? Also,I assume this won't work if the host has a different (i.e. non-vivid) release? – user3554004 Jul 20 '15 at 14:23