LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   installing kernel sources in gentoo (https://www.linuxquestions.org/questions/linux-distributions-5/installing-kernel-sources-in-gentoo-498268/)

briansaysword 11-03-2006 08:28 AM

installing kernel sources in gentoo
 
i just got gentoo, and i had to do a networkless install, because the only way i can get internet on that computer is through a wireless usb card, which i have to install the driver myself. when i tried to do that i found out the kernel sources weren't installed. how would i go about installing them?

when i do uname -r i get
2.6.17-gentoo-r7

b0uncer 11-03-2006 09:38 AM

Download the appropriate kernel-sources package from some of Gentoo's mirrors, using some other pc, (the version, 2.6.17-gentoo-r7, has to match), then transfer the file to your pc and install it locally using Gentoo's package manager.

briansaysword 11-03-2006 02:25 PM

i can't seem to find where to download the source for it...

johnson_steve 11-03-2006 09:01 PM

Are you sure? weather you use genkernel or manually configure the kernel gentoo still compiles it. so it should be there. how did you install gentoo? is there anything in /usr/src ? if for some reason you dont have them the package is called gentoo-sources do:

emerge -pv gentoo-sources

this should list all the files it needs you can download these from a mirror (see the list on gentoo.org) put them in /usr/src/distfiles and

emerge gentoo-sources

briansaysword 11-04-2006 07:29 AM

where can i download it on the computer so i can put it on a blank cd or something to transfer to the computer with gentoo on it?


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