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

Notices


Reply
  Search this Thread
Old 08-16-2005, 08:46 PM   #1
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Rep: Reputation: 15
Kernel source needs to be installed..?


http://www.nvidia.com/object/linux_n...amd64_1.0-0301

Huh? What? Where? I dun understand! I'm running the latest debian amd x86_64 build, where do I get the kernel source?

As for tonight, I'm going to bed. I'm dead tired.
 
Old 08-17-2005, 03:17 AM   #2
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
You can either get them directly from www.kernel.org, or by apt-get (search for kernel-sources).
 
Old 08-17-2005, 03:48 AM   #3
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
Depends on your kernel version. As of version 2.6.12 you have to search for linux-source-2.6.12, kernels are named in the same way: linux-image-2.6.12.
 
Old 08-17-2005, 06:52 AM   #4
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Original Poster
Rep: Reputation: 15
Where do I go to display my kernel version? (Consider me an idiot.)
 
Old 08-17-2005, 07:01 AM   #5
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Quote:
Originally posted by Wolvenmoon
Where do I go to display my kernel version? (Consider me an idiot.)
Code:
uname -r
 
Old 08-17-2005, 08:41 AM   #6
Biased turkey
Member
 
Registered: Jan 2002
Location: Canada
Distribution: redhat7.2
Posts: 169

Rep: Reputation: 30
Re: Kernel source needs to be installed..?

Quote:
Originally posted by Wolvenmoon
http://www.nvidia.com/object/linux_n...amd64_1.0-0301

Huh? What? Where? I dun understand! I'm running the latest debian amd x86_64 build, where do I get the kernel source?

As for tonight, I'm going to bed. I'm dead tired.
If you want to install the Nvidia graphics drivers you don't need the kernel source, just the kernel-headers.

I installed the Nvidia drivers 4 days ago

1) Find your kernel version
2) Use Synaptic to install the corresponding kernel-source package
3) Download the Nvidia driver . I downloaded the x86 version, not the 64 bits version even if I have an AMD 64 because Debian Sarge is a 32 bits version
4) Go to console mode ( exit X server )
5) Run the Nvidia drivers installer
6) Edit your Xfree86 config file
7) restart

Now, go back to sleep if you are so tired
 
Old 08-17-2005, 05:58 PM   #7
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Original Poster
Rep: Reputation: 15
It isn't the graphics driver anymore, it's the sound/LAN driver that I want officially installed.

This is what I got.
Quote:
kitsunedebian:~# uname
Linux
kitsunedebian:~# uname -r
2.6.8-11-amd64-generic
kitsunedebian:~# apt-get kernel-sources
E: Invalid operation kernel-sources
kitsunedebian:~# apt-get linux-source2.6.8-11-amd64-generic
E: Invalid operation linux-source2.6.8-11-amd64-generic
kitsunedebian:~# apt-get linux-source2.6.8-11
E: Invalid operation linux-source2.6.8-11
kitsunedebian:~# wget linux-source2.6.8-11
--17:46:26-- http://linux-source2.6.8-11/
=> `index.html'
Resolving linux-source2.6.8-11... failed: Host not found.
kitsunedebian:~# apt-get linux-source-2.6.8-11
E: Invalid operation linux-source-2.6.8-11
kitsunedebian:~# apt-get linux-source-2.6.8
E: Invalid operation linux-source-2.6.8
kitsunedebian:~# apt-get linux-source-2.6.8-amd64-generic
E: Invalid operation linux-source-2.6.8-amd64-generic
kitsunedebian:~#
Now, someone mentioned searching. I dunno how to use a search function via terminal, someone enlighten me, please?

(YAY! I'm the number 1 newb on the forum!)
 
Old 08-17-2005, 06:05 PM   #8
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Searchinng the apt respository:
Code:
apt-cache search package-name
You need to install:
Code:
apt-get install kernel-source-2.6.8
 
Old 08-17-2005, 06:23 PM   #9
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Original Poster
Rep: Reputation: 15
I think it's working now! Thank you very much!

--spoke too soon, it didn't detect the source as being installed.

Last edited by Wolvenmoon; 08-17-2005 at 06:29 PM.
 
Old 08-17-2005, 07:00 PM   #10
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Original Poster
Rep: Reputation: 15
Okay, what about these kernel headers?
 
Old 08-18-2005, 01:32 AM   #11
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
For the driver to be installed you only need the kernel headers, installing the source works just as well; the headers are part of the source.
 
Old 08-18-2005, 02:35 PM   #12
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Original Poster
Rep: Reputation: 15
What's this about it not being configured?
 
Old 08-18-2005, 03:23 PM   #13
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Quote:
Originally posted by Wolvenmoon
What's this about it not being configured?
I believe that the kernel source is installed as a gzipped tarball in the /usr/src direcotry, thus you need to untar it.
 
Old 08-18-2005, 03:56 PM   #14
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Original Poster
Rep: Reputation: 15
What's the untar command once more?
 
Old 08-18-2005, 03:58 PM   #15
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Code:
tar zxf yourfile.tgz
 
  


Reply



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
how to get the kernel-source installed??? luqman Red Hat 3 03-10-2005 03:31 PM
installed kernel source with YAST, kernel not there alagenchev SUSE / openSUSE 1 11-14-2004 10:02 AM
How can i tell if the kernel source has been installed or not? samatman Mandriva 4 03-10-2004 07:24 PM
Kernel Source Installed? How to tell? metsdada Linux - Newbie 13 01-02-2004 12:31 PM
how to check if kernel source is installed ? xprometeus Linux - Software 4 10-09-2003 07:18 PM

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

All times are GMT -5. The time now is 08:46 AM.

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