LinuxQuestions.org
Review your favorite Linux distribution.
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 02-25-2004, 01:07 PM   #1
Zaskar
Member
 
Registered: Feb 2004
Location: NY
Distribution: Debian (Testing)
Posts: 219

Rep: Reputation: 30
apt-get kernel source


heya guys i just apt-get the kernel source for the bf24 (2.4.18) kernel source, bunziped it and un tared it.

it made a folder in the directory called "kernel-source-2.4.18"

should i rename it to "kernel-2.4.18"? (usually whenever i ever saw source folders they were the name of the kernel itself) thats what i did to be safe but was it nesacary? (or should i change it back? )

thanks guys

-Krause
 
Old 02-25-2004, 02:25 PM   #2
stony
Member
 
Registered: Jun 2003
Location: Europe / Germany / Saarland / Neunkirchen
Distribution: Debian (SID), Gentoo
Posts: 131

Rep: Reputation: 15
Re: apt-get kernel source

Hi,

Quote:
Originally posted by Zaskar
heya guys i just apt-get the kernel source for the bf24 (2.4.18) kernel source, bunziped it and un tared it.

it made a folder in the directory called "kernel-source-2.4.18"

should i rename it to "kernel-2.4.18"? (usually whenever i ever saw source folders they were the name of the kernel itself) thats what i did to be safe but was it nesacary? (or should i change it back? )

thanks guys

-Krause
the name of the folder the kernel is in doesn't matter 'cause you're using a symlink called "linux" to the kernel tree you're working with

Everything else is just for the "overview-purposes"

btw. build your kernel with make-kpkg (kernel-package is the package name)

cu
 
Old 02-25-2004, 03:22 PM   #3
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
The name of the folder is irrelevant. If a program require the kernel sources to compile, it will usually look for it in /usr/src/linux. You can also specify the source directory manually. I think the convention is to create a symbolic link to point the kernel source directory you want to use, in your case kernel-2.4.18. You can created by typing "ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux"
 
  


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
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 08:32 AM
Where does apt place kernel-source? Mondus Linux - Hardware 5 07-30-2005 12:29 PM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 06:42 PM
apt error, messed up after tried installing kernel-source-2.6.8 microsoft/linux Debian 1 06-17-2005 01:38 AM
what is the best source to put on apt-get source list j.vilon Debian 3 09-28-2004 09:49 PM


All times are GMT -5. The time now is 07:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration