Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 02-22-2010, 10:43 AM   #1
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, 01:35 PM   #2
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
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.


Old 02-24-2010, 10:08 AM   #3
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)


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 / openSUSE 2 11-28-2009 11:12 AM
Slackware64-current missing kernel headers? UpAndUp Slackware 2 08-26-2009 07:08 PM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Kernel Headers 2.4.22 with new Kernel 2.6.3 Install 2TonCartoon Slackware 4 03-06-2004 04:52 AM
How do I install kernel headers jsurgeson Linux - Newbie 4 03-27-2002 05:01 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:17 PM.

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