LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-22-2010, 11:43 AM   #1
squashed
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Install kernel headers (current kernel only)


What's the command for installing kernel headers for the currently installed kernel?
 
Old 02-22-2010, 02:35 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
Which version of Fedora are you running ?

The general command is

yum install kernel-devel kernel-headers

Fedora 12 has the necessary headers already installed AFAIK.

regards

Alan
 
Old 02-24-2010, 11:08 AM   #3
squashed
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
You're right. I didn't need headers for Fedora 12. It was kernel-devel I needed.

To answer my own question, to install headers for current running kernel:

yum install kernel-devel-$(uname -r)
 
  


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
Zypper wants to dl the wrong kernel headers... YaST doesnt have current headers zorb Suse/Novell 2 11-28-2009 12:12 PM
Slackware64-current missing kernel headers? UpAndUp Slackware 2 08-26-2009 08:08 PM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
Kernel Headers 2.4.22 with new Kernel 2.6.3 Install 2TonCartoon Slackware 4 03-06-2004 05:52 AM
How do I install kernel headers jsurgeson Linux - Newbie 4 03-27-2002 06:01 AM


All times are GMT -5. The time now is 12:46 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