LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   How to install Kernel source file on Fedora 18 x86_64 live desktop? (http://www.linuxquestions.org/questions/linux-kernel-70/how-to-install-kernel-source-file-on-fedora-18-x86_64-live-desktop-4175454631/)

chinabenjamin66 03-19-2013 03:05 AM

How to install Kernel source file on Fedora 18 x86_64 live desktop?
 
Hello all,

I found there is no kernel source files on my Fedora 18 x86_64 live desktop.

How to install Kernel source file on Fedora 18 x86_64 live desktop.

My kernel version is:
3.6.10-4.fc18.x86_64

the way as easy as possibel. Thank you all.

knudfl 03-19-2013 03:52 AM

'kernel-3.6.10-4.fc18' : That's the release version. ( Dec 2012.)
The current version is 'kernel-3.8.3-201.fc18', which is what you get with :
# yum install kernel kernel-devel

I.e. 'kernel-devel' provides files needed for compiling a driver / a module.

There is no binary package "kernel-source".
There is a kernel-3.8.3-201.fc18.src.rpm, which is linux-3.8.3.tar.bz +
the "100" files required to build "kernel-3.8.3-201" packages.

-

chinabenjamin66 03-19-2013 04:17 AM

Hello knudfl,

Thank you for your prompt reply.
very detail.


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