I am trying to install some packages on a server that has no internet connectivity.
From what I read at How to use yum to get all RPMs required, for offline use? I should be able to use yumdownloader to download all dependencies using a server with connectivity and copy it for installation elsewhere.
My question is whether this will work on a different Centos minor (6.5 & 6.8) or major (6.8 & 7.0) versions? E.g. Using yumdownload on 6.5, copying the files to 6.8 and installing them.
Thanks!
yumdownloader
I found says it has a--urls
option. If this is the case, you could try playing with this on the disconnected system to generate a list of files to fetch using the system with an Internet connection (perhaps usingcURL
orwget
). – njsg Feb 16 '17 at 18:16