LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2011, 04:29 AM   #1
talk2devid
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Installing software offline/from DVD in Fedora 15


Respected Members,

Currently i am using Fedora 15. My question is - how do i build repository in fedora using fedora installation DVD and later on i can install the software from that repository ?

second issue is - my friend don't have internet connection. so, how do i install the software like - VLC, amarok, and other players offline ? i have downloaded software from RPMFusion, but i am unable to install them. during the installation process, it shows error like - "Can't install src.rpm". there is any other resources where i can get the rpm files so that i can download them and send to my friend and he can install it without any internet connection ?

Please suggest
 
Old 06-03-2011, 05:46 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

You could set up your DVD as a local repository. Create a local.repo file in /etc/yum.repos.d and put something like the following in there (this is for RHEL 5.5)
Code:
[rhel-local]
gpgcheck=1
name=Red Hat Linux $releasever - $basearch - DVD
baseurl=file:///mnt/source/Server
Check on your DVD if the directory structure is the same and if not change it to reflect where your packages are stored. Next you can use yum to install from the DVD, that is if what you want to install is available on it.

Your second problem, where you state that you cannot install what you have downloaded from RPMFusion, looks to me to be because you're using src.rpm files which are the source files for the package. Look for the RPM for your OS, version and platform without the src in the name, that should be the installation candidate for the software you want to install.

Kind regards,

Eric
 
Old 06-03-2011, 04:56 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,544

Rep: Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428
Kind of related. Just a thought.

You could build a complete system and then send it to him. A few ways to do that.
 
Old 06-03-2011, 05:14 PM   #4
FormatC
LQ Newbie
 
Registered: Jun 2009
Distribution: linuxslackware
Posts: 28

Rep: Reputation: 3
I, too, regularly install things offline. Normally, though, I download the programs to a USB and install them from there. Generally I'm worried that there is going to be some depency that I forgot to pick up, but that has yet to be the case. Some of the progrms work out great. Others, though, not so hot. The output of the ones that don't work is always something about the C compiler not being able to make an executable. I don't know how to fix that.

But it seems like the DVD repository is something that I should try. Do I just download what I'd like and then burn them to a data DVD and follow the instructions above, or is there something else that is not mentioned here that I need to know?
 
Old 06-03-2011, 06:45 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
you do know that the fedora 15 install dvd is already out of date
 
Old 06-04-2011, 01:31 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by FormatC View Post
But it seems like the DVD repository is something that I should try. Do I just download what I'd like and then burn them to a data DVD and follow the instructions above, or is there something else that is not mentioned here that I need to know?
Hi,

No, that's not the way it works. That is if you want to use the DVD in combination with yum. You could download what you need, burn to DVD and install with rpm -ivh (rpm -Uvh for upgrade) or with yum localinstall (yum localupgrade for upgrades). If you want to use 'a' DVD like I mentioned above you'll need the repodata in the directory you're installing packages from. Just mount a DVD and look at the directory structure, you'll understand what I mean. If you want to create a repository in a directory like you are referring to you can use the createrepo command. Have a look at the man page for explanations.

Kind regards,

Eric
 
  


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
installing software on mandriva while offline theacerguy Mandriva 4 04-29-2009 10:20 PM
offline installing gcc to fedora 10 amira77e Linux - Newbie 1 01-27-2009 03:00 PM
help installing extra software from the fedora core 8 install dvd. Redtempo Linux - Newbie 9 04-25-2008 05:01 AM
Installing software offline john2007 Linux - Newbie 2 06-19-2007 06:13 AM
Installing Software While Offline ezuk Debian 12 10-20-2004 02:19 PM


All times are GMT -5. The time now is 02:41 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration