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

Notices


Reply
  Search this Thread
Old 12-25-2006, 05:08 AM   #1
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Rep: Reputation: 30
kernel-headers


I need the kernel-headers-2.6.17-10-generic but I had not this kernel-headers in my repositories. How I get this?
 
Old 12-25-2006, 12:59 PM   #2
Fadoksi
Member
 
Registered: Apr 2006
Location: Finland
Distribution: Ubuntu, Gentoo, Debian
Posts: 88

Rep: Reputation: 15
Try "apt-get install linux-headers-2.6.17-10-generic"

If apt doesnt find them, you probably dont have the Universe -repository enabled.
This can be enabled by editing /etc/apt/sources.list
This can also be done with Synaptic.

You can also download them here:
http://packages.ubuntulinux.org/edgy....17-10-generic

-Fadoksi
 
Old 12-28-2006, 03:14 PM   #3
angkor
Member
 
Registered: Mar 2005
Location: Amsterdam
Distribution: Debian => Ubuntu => Mac Osx
Posts: 165

Rep: Reputation: 31
They're called linux-headers-[blahblah].

Code:
apt-cache search linux-headers
linux-headers-386 - Linux kernel headers on 386
linux-headers-686 - Obsoleted by: linux-headers-generic
linux-headers-generic - Generic Linux kernel headers
linux-headers-k7 - Obsoleted by: linux-headers-generic
linux-headers-server - Linux kernel headers on Server Equipment.
linux-headers-server-bigiron - Linux kernel headers on BigIron Server Equipment.
xen-source-2.6.16 - Linux kernel source for version 2.6.17 with Ubuntu patches
linux-headers-2.6.17-10 - Header files related to Linux kernel version 2.6.17
linux-headers-2.6.17-10-386 - Linux kernel headers for version 2.6.17 on i386
linux-headers-2.6.17-10-generic - Linux kernel headers for version 2.6.17 on x86/x86_64
linux-headers-2.6.17-10-server - Linux kernel headers for version 2.6.17 on x86/x86_64
linux-headers-2.6.17-10-server-bigiron - Linux kernel headers for version 2.6.17 on BigIron
 Server Equipment
linux-source-2.6.17 - Linux kernel source for version 2.6.17 with Ubuntu patches
linux-headers-2.6.15-26-k7 - Linux kernel headers 2.6.15 on AMD K7 SMP/UP
linux-headers-2.6.15-27-k7 - Linux kernel headers 2.6.15 on AMD K7 SMP/UP
linux-headers-2.6.15-25-k7 - Linux kernel headers 2.6.15 on AMD K7 SMP/UP
linux-headers-2.6.15-26 - Header files related to Linux kernel version 2.6.15
linux-headers-2.6.15-27 - Header files related to Linux kernel version 2.6.15
linux-headers-2.6.15-25 - Header files related to Linux kernel version 2.6.15
linux-headers-2.6.15-23 - Header files related to Linux kernel version 2.6.15
linux-headers-2.6.15-23-k7 - Linux kernel headers 2.6.15 on AMD K7 SMP/UP
To install matching headers for the kernel you are running at the moment try:

Code:
sudo apt-get install linux-headers-`uname -r`
The uname part inserts the output of uname -r in the terminal:

Code:
uname -r
2.6.17-10-generic
 
Old 01-01-2007, 03:22 PM   #4
7up
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by Fadoksi
Try "apt-get install linux-headers-2.6.17-10-generic"

If apt doesnt find them, you probably dont have the Universe -repository enabled.
This can be enabled by editing /etc/apt/sources.list
This can also be done with Synaptic.

You can also download them here:
http://packages.ubuntulinux.org/edgy....17-10-generic

-Fadoksi
can you show me how to edit the sources.list file and enable the Universe repository, please? I'm kinda new to linux

what i need is the linux-source-2.6.17-10-generic but couldn't find it using apt-get
 
Old 01-02-2007, 05:34 AM   #5
jagwah
LQ Newbie
 
Registered: Jun 2006
Location: Australia
Distribution: SimplyMEPIS 8.0, debian 5.0
Posts: 22

Rep: Reputation: 15
If you are using Adept Manager, you can just open Adept, select View/Manage Repositories, then find the line/lines Universe, right click on them and select 'Enable', then click 'Apply' then 'Close' then 'Fetch Updates' Then your good to go, you can do the same for 'universe multiverse' etc if you like.

If you use Synaptic, Settings/Repositories, then tick the box/boxes you want, click 'OK' then reload.

That's the easy GUI way anyways.

To do it the manual CLI way, open a terminal/konsole and type,

sudo kate /etc/apt/sources.list (click enter)
type in your password, find the lines containing the universe repo's and remove the # from in front of them, eg

#deb http://au.archive.ubuntu.com/ubuntu/ edgy universe
#deb-src http://au.archive.ubuntu.com/ubuntu/ edgy universe

would become,

deb http://au.archive.ubuntu.com/ubuntu/ edgy universe
deb-src http://au.archive.ubuntu.com/ubuntu/ edgy universe

Do that for what ever repo's you want, eg, universe multiverse, save the file and exit. Load up your package manager, Adept or Synaptic, and either "Fetch Updates" or 'Reload' depending on which you use.
 
Old 01-02-2007, 09:12 AM   #6
Fadoksi
Member
 
Registered: Apr 2006
Location: Finland
Distribution: Ubuntu, Gentoo, Debian
Posts: 88

Rep: Reputation: 15
Other ways:

sudo nano -w /etc/apt/sources.list

or:

gksudo gedit /etc/apt/sources.list
 
  


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
do kernel headers come with kernel-source package? janos Linux - Kernel 1 05-30-2006 09:38 AM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 12:15 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:28 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
Open Source Consulting | Domain Registration