LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-11-2006, 12:15 PM   #1
0wl
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Question Is kernel-source included in debian-31r1-i386-binary-1.iso?


Hi..
Is kernel-source included in the debian-31r1-i386-binary-1.iso cd image. There isn't a usr/src/linux directory, apt-get install says the source isnt there, apt-cache search doesnt return anything for kernel-source. I must admit i've never done anything in Linux before.. Do I download and compile the source..?
Thanx..
 
Old 03-11-2006, 01:17 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Just install the source with apt-get. If you had included the exact installation you have, I'd have written out the apt-get statement. Testing or unstable is slightly different than stable.
 
Old 03-11-2006, 03:47 PM   #3
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Are you using Sarge CD1 as apt source plus other cds or CD1 plus internet connection? How far into installation have you gotten? What does your /etc/apt/sources.list look like?
 
Old 03-11-2006, 10:19 PM   #4
0wl
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
rickh: I did apt-get install kernel-source but it said that the package kernel-source is referred to by another package but could not be found which means that it is either missing or available from another source

lestoil: I have Sarge CD1,that's all.I've installed the OS from it and am trying to install the peripherals now for which I need the source.im not connected to the net from my debian box..the sources.list lists the sources as
file:///cdrom/sarge main
cdrom:[Debian GNU/Linux 3.1r1 _Sarge_ - Official i386 Binary-1(20051220)/unstable contrib main
http:||security.debian.org/stable/updates main contrib

If the source is in fact not in CD1 then wouldnt it be better to just get the source rather than download another whole CD..?
 
Old 03-11-2006, 10:39 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Assuming you could do an apt-get, even to get that error message, you have enough installed to carry on.

You can't just 'apt-get install kernel-source' You have to identify which one. The one that matches the kernel you have installed.

Example:

# uname -r
2.6.8-2-i386
# apt-get install kernel-source-2.6.8-2-i386

...and my guess would be that you may only need the headers
# apt-get install kernel-headers-2.6.8-2-i386

Of course if the source and or headers is not on your cd, you'll have to get an internet connection. I can't imagine trying to get a working system without the internet, but I guess it's possible.

Last edited by rickh; 03-11-2006 at 10:45 PM.
 
Old 03-12-2006, 01:22 AM   #6
Ashex
Member
 
Registered: Mar 2006
Location: Bellevue, WA USA
Distribution: Debian KDE/Fluxbox
Posts: 36

Rep: Reputation: 15
as a sidenote, don't forget to apt-get update before you do this. you might just not have the database, judging from those errors you got trying to search apt-cache.
 
  


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
Do I really need all 14 Debian binary ISO files? Mateo1041 Debian 3 12-01-2005 11:09 PM
Debian download binary 1-7.iso?! FiveFlat Debian 5 05-11-2005 01:12 PM
do i want the source or binary .iso? Lleb_KCir Linux - Software 2 08-05-2004 03:02 AM
Mandrake 9.2 iso with no kernel included or error? alex101 Mandriva 4 04-30-2004 09:59 PM
Source iso vs. Binary iso Pcghost Linux - Newbie 2 04-03-2003 11:29 AM

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

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