LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can updates point to a dvd instead of FTP..? (https://www.linuxquestions.org/questions/linux-newbie-8/can-updates-point-to-a-dvd-instead-of-ftp-518399/)

tcrew 01-11-2007 11:56 AM

Can updates point to a dvd instead of FTP..?
 
As the title says. When you install some versions of linux, Say like i've installed Fedora 6 on VMware (For Testing) and it checks the FTP for updates and extra packages, can it be made to check a DVD instead. Cause if i decide to install this properly i will have to do all the downloading again, When i could just download the update off the FTP and burn them to DVD.

I know there maybe further updates but atleast i would have a head start, like the games as there are lots of them.

Also can any of the software downloaded from Fedora FTP's run on other linux versions... I realise that some things won't as these are probably Fedora updates only but what about the apps and games...?

Thanx for any help...

b0uncer 01-11-2007 12:07 PM

Updating from a DVD is possible. You just need to add your DVD as a new reposity to your yum's configuration; I believe there are ready tutorials on how this is done, so I don't interfere in that (because I'm not 100% I remember it correctly). But the key question is: how you configure DVD as a yum reposity? Ask that from Google :)

If you mean is it possible to download software from Fedora's reposities (ftp) and install them on non-Fedora system, yes and no. It depends. If the distribution you use is very close to Fedora you can try, but you might mess up. On a completely different kind of system, say Debian, I wouldn't try since on Fedora the packages might get installed into other places than on the other system, so in the end you could just break something; better use distribution's native packages or compile from source.

tcrew 01-11-2007 12:25 PM

Thanx for the reply, i will look into this yum thing.. sorry but i dunno what yum is but i'm sure i will find it on these forums somewhere.

tcrew 01-11-2007 12:35 PM

Well i found the way of doing this a couple of different ways, so for anyone else who wants to do this here's what i found.

Edit all the the repo files in /etc/yum.repos.d/ to have enabled=0, except fedora-core.repo. Comment out the existing mirrorlist line in that file and replace with ....

baseurl=file:///media/disk

Make sure your DVD is inserted and mounted before you launch Yum


If you're not enthusiastic about enable=0 'ing all your repos, just 'mv -rf /etc/yum.repos.d/ /etc/yum.repos.d.bak;

mkdir /etc/yum.repos.d' and add from below to your yum.conf:

[fedora-dvd]
name=my local repo
baseurl=file:///media/disk
enabled=1
gpgcheck=0


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