LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Install from DVD (https://www.linuxquestions.org/questions/linux-software-2/install-from-dvd-710847/)

fedix 03-11-2009 03:21 PM

Install from DVD
 
I've installed Fedora 10 Gnome from DVD. How do I let yum and "Add/Remove Software" first check the DVD before downloading packages from the Internet when choosing packages to install?

hurry_hui 03-11-2009 09:03 PM

Try yum repolist . U should see output like Installmedia with status installed. Or you can run pirut n select list of repo.

ArfaSmif 03-11-2009 11:48 PM

Do a "man yum.conf" . The parameter you are looking for is "baseurl". You can use something like
"baseurl=file://media/dvdrom-mount-point/" . I think something like this will work.

You will need to create a new file in /etc/yum.repos.d for the DVD media. Have a look at what is there now, and copy the simplest one, then modify it to suit your needs.

You can then use the following menu, to make sure that you have it correct, "System, Administration, Software Sources" Your new repo should show up in the list of software sources.

Good luck

fedix 03-12-2009 12:00 AM

THanks everybody!


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