LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   RPM Management on PC disconnected from internet (https://www.linuxquestions.org/questions/linux-general-1/rpm-management-on-pc-disconnected-from-internet-745410/)

khskinsfan 08-05-2009 05:27 PM

RPM Management on PC disconnected from internet
 
What's the best way to udate / install RPM, tars, when the machine i am working on is not connected to the internet. Right now i just down load rpm to a thumb drive and put them on the other pc. How would one set it up where I can use yum to install from that location where I put the RPMs and source files.

Thx.

chrism01 08-06-2009 01:24 AM

You need the proxy option, if I understand your requirement:

http://www.centos.org/modules/newbb/...topic_id=10565
http://www.linuxquestions.org/questi...mproxy-626604/

unSpawn 08-06-2009 02:10 AM

If your machine is not connected to the Internet and your packages reside on removable media then you just need to craft a .repo file with a "baseurl=file:///location/of/mounted/USB_stick/" and run 'createrepo' on the /location/of/mounted/USB_stick/ directory to make contents visible to Yum. (All of this looks automatable running some modified HAL .fdi ruleset and might work nicely until you find you forgot to D/L dependencies...)


All times are GMT -5. The time now is 09:04 PM.