LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-20-2007, 12:07 AM   #1
odaeng78
LQ Newbie
 
Registered: Feb 2005
Location: Seoul, Korea
Distribution: Fedora 6
Posts: 10

Rep: Reputation: 0
Smile installing RPM when not connected to internet(network)??


Hello, all.

1. I was trying to install RPM when connected to internet. -> but the process was too slow.

2. So, I tried without connection to network(eth0 activated, but physically disconnected). Then I got the following message right after clicking 'Add/Remove Software'.
'Unable to retrieve software information. This could be caused by not having a network connection available.'

3. Finally, I tried to install rpm after going thru 5 CDs to spot RPMs that I needed to install and double-clicking them.
But still, I got the same error as above.

Nevertheless I copy every RPM I needed individually to desktop and successfully installed one by one.

Q1. Does this mean that if I want to install any rpm(thru 'Add/Remove Software'), I need to have a network connection when eth0 is activated?
Or is there a way-around?

Last edited by odaeng78; 05-20-2007 at 12:10 AM.
 
Old 05-20-2007, 12:35 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
You need the CDs listed as a repository.

Much better over a network... why was it so slow?
 
Old 05-20-2007, 12:53 AM   #3
odaeng78
LQ Newbie
 
Registered: Feb 2005
Location: Seoul, Korea
Distribution: Fedora 6
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the quick resonse.

Q1. How do I list CDs as repository?


Q2. There really isn't any way to use 'Add/Remove Software' function while eth0 inactive on Fedora6 ??
Then, on X-Window and off-line, how do I see all the rpms installed and those available to install?
 
Old 05-20-2007, 01:05 AM   #4
3rdKey
Member
 
Registered: Feb 2007
Location: United States
Distribution: Fedora , Knoppix
Posts: 60

Rep: Reputation: 15
Quote:
Originally Posted by odaeng78
1. I was trying to install RPM when connected to internet. -> but the process was too slow.
What package were you trying to install? Depending on the package and your system's dependencies, some packages may take longer than others to install. If no progress is made after a significant period of time, perhaps your internet connection or the server timed out, at which point try a different repo.
 
Old 05-20-2007, 01:32 AM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by odaeng78
Q1. How do I list CDs as repository?
List it in yum.conf
Quote:
Q2. There really isn't any way to use 'Add/Remove Software' function while eth0 inactive on Fedora6 ??
Then, on X-Window and off-line, how do I see all the rpms installed and those available to install?
The utility downloads and maintains a list of available packages to install. The list i stored on your HDD. How else...

I've never used add/remove packages, I've always used YUM or yumex.
 
Old 10-04-2007, 11:08 PM   #6
thesudhircs
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by odaeng78 View Post
Hello, all.

1. I was trying to install RPM when connected to internet. -> but the process was too slow.

2. So, I tried without connection to network(eth0 activated, but physically disconnected). Then I got the following message right after clicking 'Add/Remove Software'.
'Unable to retrieve software information. This could be caused by not having a network connection available.'

3. Finally, I tried to install rpm after going thru 5 CDs to spot RPMs that I needed to install and double-clicking them.
But still, I got the same error as above.

Nevertheless I copy every RPM I needed individually to desktop and successfully installed one by one.

Q1. Does this mean that if I want to install any rpm(thru 'Add/Remove Software'), I need to have a network connection when eth0 is activated?
Or is there a way-around?
Yes the same problem is with me but what is the solution??
 
Old 10-05-2007, 09:58 AM   #7
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Wait explain things a little clearer and in more detail. You have an RPM file we'll call foo.rpm that you want to install locally correct? So just open a terminal window and type "sudo rpm -ivh foo.rpm" without the quotes. If you are not in the sudoers file then do "su - root" and type the root password. That is all you need to do and it does NOT require an internet connection. Add/Remove software application just ends up running Pirut which in turn uses yum to DOWNLOAD the latest repository metadata. Keyword "download". That is why it requires an internet connection. You don't need to set YUM to use your cd as a repository if you are picking out individual packages. Just use a terminal window and navigate to the cd directory where they are located and run that command for each rpm you want to install. If you have questions let me know. I'd be glad to assist further
 
Old 10-06-2007, 06:30 AM   #8
thesudhircs
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by shafty023 View Post
Wait explain things a little clearer and in more detail. You have an RPM file we'll call foo.rpm that you want to install locally correct? So just open a terminal window and type "sudo rpm -ivh foo.rpm" without the quotes. If you are not in the sudoers file then do "su - root" and type the root password. That is all you need to do and it does NOT require an internet connection. Add/Remove software application just ends up running Pirut which in turn uses yum to DOWNLOAD the latest repository metadata. Keyword "download". That is why it requires an internet connection. You don't need to set YUM to use your cd as a repository if you are picking out individual packages. Just use a terminal window and navigate to the cd directory where they are located and run that command for each rpm you want to install. If you have questions let me know. I'd be glad to assist further



thnks. for u'r suggestion shafty023. I m new on linux and installed fedora 7. My sound card has been detected. but i don't know how to play vedio and mp3. pls help me knowing that i do every thing offline. pls tell me links for the software of linux.
 
Old 10-06-2007, 05:04 PM   #9
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
I don't know how to play video and mp3
You can already play music and video provided you are not using a patent-encumbered format like mpeg or mp3 ... the fedora DVD does not come with the files you need. You have to go online with something and get ffmpeg2theora (from livna I guess - past the url someplace - get the f7 rpm - copy it to your fedora box - do that rpm -i thing.)

This will let you convert your multimedia files into a decent format for playing.

The alternative is to install the required codecs to gstreamer or totem-xine. Not something I'd like to have to do offline.
 
Old 10-07-2007, 06:01 PM   #10
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Although Linux forums are generally helpful, they aren't meant to teach a person linux in general. That is always going to be something you'll have to learn through trial and error. As well, every distribution of linux is different in how they handle package management (software downloads/installation).

With that in mind, I can recommend a good audio/video player for you. KPlayer is it's name. You're going to have to learn how to either use a terminal window & use the command "yum", or learn how to google for a software application on the internet and locate it's RPM. It's just like the windows world where you have to find a software program, locate the EXE file and then install it. Linux just has different file formats and methods for installation.

As a newbie I'd first take the time to study online tutorials or get your hands dirty and just start playing with Linux till you get a good handle on it. It's what I had to do when I began. Anywho, I'd be happy to assist with specific questions but it's hard to answer such general questions when the recipient is very limited on their knowledge. It's like me asking why is there a banging sound under the hood of my car and a mechanic telling me how to fix it. I'd be lost and it wouldn't be helpful.
 
Old 10-07-2007, 07:45 PM   #11
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Add to Shafty... really get that machine online somehow. Even if only for a short time (there are internet cafes that let you bring your own box...)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connected to GPRS network and got an IP, but still no internet d2army Linux - Networking 0 02-15-2006 06:31 PM
connected to wifi network but no internet connection? mr.gizm0 Linux - Wireless Networking 3 03-21-2005 03:07 AM
On network but not connected to internet. tongueless Linux - Networking 3 01-25-2005 03:27 PM
Connected to wirless network - but no internet. rampid360 Linux - Wireless Networking 2 10-07-2004 10:47 PM
when fedora machine is connected to the internet via network windiws machines cannot purbeck Linux - Networking 1 01-24-2004 07:50 AM


All times are GMT -5. The time now is 07:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration