LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-30-2004, 11:26 AM   #1
wiz561
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
installing fedora kernel sources


Hi!

I know that this is probably the easiest thing in the world, but I need to know how to install the kernel sources. I downloaded the kernel-2.6.6-1.435.2.3.src.rpm file and did a rpm -ivh kernel... I thought it would put it in a nice /usr/src/kernel-2.6.6.1..blahblah directory. Boy, am I wrong.

So, if anybody could help me figure out how to do this, that would be great! I tried to search around, but couldn't find much. I also need to do this so I can install the ati drivers and kismet.


Thanks in advance...
 
Old 07-30-2004, 11:50 AM   #2
wiz561
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
woops

Darn...i just found out how to do it... easy enough...

yum install kernel-sourcecode


Now, I have the /usr/src/kernel version directory. Is it safe to remove the old kernel source directory?


Thanks!
 
Old 07-30-2004, 02:41 PM   #3
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
Since compiled kernel images are kept in /boot, once you've compiled a kernel, you can delete the source directory. HOWEVER, a lot of programs will use the kernel source header files when compiling (such as the nVIDIA drivers), you have to be careful not to delete the source for any kernels you still want to be able to boot from or need the header files to build other programs. As it sounds like you are simply upgrading the latest and greatest kernel, once you are satisfied that everything is working properly with the new kernel, I would think you'd be okay to get rid of the previous source directory.

Last edited by Tino27; 07-30-2004 at 02:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 07:30 AM
installing kernel sources bhodi Slackware 1 04-12-2005 02:07 PM
Can't get kernel sources from apt/synaptic (Fedora 3) versaulis Linux - Software 0 01-15-2005 03:26 PM
Kernel sources in Fedora Core 2 mbourne Fedora 8 10-04-2004 10:35 AM
Installing Kernel Sources... Solean Slackware 4 04-26-2003 04:16 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration