On 10/04/2009 08:11 PM, NavTux wrote:
> It s nice ,just i need how to do offline installation in fedora using
> it's dvd
>    
The Fedora DVD has a 'repository' configured in it. So, all you need to 
do is tell yum to use it.
Here's how.

1. Mount the DVD to a known path (modify the following as per your 
requirements):
mkdir /mnt/dvd
mount /dev/dvd /mnt/dvd

If you want to mount the ISO image (instead of the actual DVD):
mount -o loop /path/to/iso/image /mnt/dvd

2. Add a yum repository (do as root):
vim /etc/yum.repos.d/fedora-dvd.repo

Add the following in that file:
[fedora-dvd]
name=Fedora DVD
baseurl=file:///mnt/dvd
enabled=0
gpgcheck=0

Save and close the file.

3. As given in the file, the repo is disabled by default. Otherwise, 
every time you use yum, it will try to access the DVD mount point.

4. To install something from the DVD:
yum --disablerepo=* --enablerepo=fedora-dvd install some_package

Hope this helps..

regards,

Syam

--~--~---------~--~----~------------~-------~--~----~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to