Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st February 2006, 07:26 PM
icthy Offline
Registered User
 
Join Date: Jun 2005
Location: Washington D.C. area
Posts: 158
yum install kernel-devel gives me wrong version of headers?

Hi,

I'm trying to install Cisco VPN software on my computer, which has just been freshly upgraded from FC2 to FC4. I need the kernel headers to get the software to install, so I did yum install kernel-devel . However, I'm running 2.6.11-1.1369_FC4, but yum got me the headers for: 2.6.15-1.1831_FC4-x86_64.

I'm sure this is a stupid question, but I can't find it in the forums. How can I get the proper version of the kernel headers (or should I just update my kernel)?

Thanks.
Reply With Quote
  #2  
Old 21st February 2006, 08:17 PM
LinuxManMikeC's Avatar
LinuxManMikeC Offline
Registered User
 
Join Date: Aug 2005
Location: Ohio, USA
Age: 28
Posts: 299
Well its installing the latest version it finds in the active repositories (sorry, just felt like stating the obvious). I'm not sure why it gave you the 64bit stuff though. Goofy versioning? You can specify the version in the package name like this (taken from the yum manpage):
Code:
       Specifying package names
              A  package can be referred to for install,update,list,remove etc
              with any of the following:

              name
              name.arch
              name-ver
              name-ver-rel
              name-ver-rel.arch
              name-epoch:ver-rel.arch
              epoch:name-ver-rel.arch
In short try this command:
Code:
yum install kernel-devel-2.6.11-1.1369_FC4
If you want to have an even easier time of things you could install the yumex GUI interface. However, the command line is much faster and yumex seems rather slow at times. I only use yumex for browsing the repositories most of the time.
Reply With Quote
  #3  
Old 21st February 2006, 09:35 PM
axelseap's Avatar
axelseap Offline
Registered User
 
Join Date: Dec 2005
Posts: 455
when dealing with kernels there is actually a really easy universal way to install stuff for your current kernel, type
Code:
yum install kernel-devel-$(uname -r)
i find that much easier than typing in all those nasty numbers.
Reply With Quote
  #4  
Old 21st February 2006, 09:46 PM
icthy Offline
Registered User
 
Join Date: Jun 2005
Location: Washington D.C. area
Posts: 158
Thanks folks. I agree the question was rather dumb . I figured yum would take into account the kernel version I was using when I installed kernel-devel. Using, base, dag, and freshrpms, I can't find the version i need (yum list kernel-devel* only returns the version I have) so I'm just going to install the source rpm with, you guesed it, rpm.

Do you by any chance have an opinon on whether I should update my kernel? I worry it's rather old, but I want something that's as stable as possible.
Reply With Quote
  #5  
Old 21st February 2006, 09:50 PM
axelseap's Avatar
axelseap Offline
Registered User
 
Join Date: Dec 2005
Posts: 455
the latest kernel seems fine and stable, for me. but one thing to note is that when you update your kernel you will also have to reinstall any kernel modules such as nvidia, ntfs, madwifi, fglrx, ndiswrapper or anything else like that, but using yum it's quite easy
Reply With Quote
  #6  
Old 21st February 2006, 10:17 PM
icthy Offline
Registered User
 
Join Date: Jun 2005
Location: Washington D.C. area
Posts: 158
Thanks...I think i'll give it a shot tomorrow (I'm doing this in my spare time at work). I haven't added any kernel modules, so it should be quick and easy (I hope).
Reply With Quote
Reply

Tags
headers, install, kerneldevel, version, wrong, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install kernel-headers and kernel-devel without internet access faichiu Using Fedora 4 29th April 2009 03:16 AM
kernel headers/devel mike123 Installation and Live Media 5 8th February 2009 04:46 PM
kernel-devel install - i'm doing it wrong... paragraph Using Fedora 2 16th March 2008 06:14 AM
kernel, devel and headers JoeFrezza Using Fedora 3 20th February 2007 11:01 AM


Current GMT-time: 19:43 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat