LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-05-2009, 05:27 PM   #1
khskinsfan
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Question 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.
 
Old 08-06-2009, 01:24 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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/
 
Old 08-06-2009, 02:10 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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...)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet connection gets disconnected within 2-3 minutes asdandekar Ubuntu 4 01-29-2009 02:12 AM
slackware 10 slow when disconnected from internet using static IP yangwall Slackware 5 04-14-2007 02:33 AM
Gnome logins fail if disconnected from internet basileus Linux - General 1 12-02-2004 03:47 PM
internet gets disconnected usb adsl jwijesundra Linux - Hardware 6 08-21-2004 05:24 PM
Keep Getting Disconnected from Internet xnevermore Linux - Networking 0 06-21-2004 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration