LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2003, 07:23 PM   #1
xprometeus
Member
 
Registered: Jul 2003
Distribution: Turbo Linux 10D
Posts: 39

Rep: Reputation: 15
how to check if kernel source is installed ?


how to check if kernel source is installed ?Or how can i find kernel source directory ? I have slackware 9.0 now. i would like to install
alsa modul for my sound card .


thanks for your help
 
Old 10-09-2003, 07:48 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
By default, the kernel source is not included as part of a Slackware v9.0 installation. To obtain the kernel source, you can go here: http://www.kernel.org/ -- J.W.
 
Old 10-09-2003, 07:58 PM   #3
Mirrorball
Member
 
Registered: May 2003
Location: Brazil
Distribution: Gentoo
Posts: 81

Rep: Reputation: 15
The kernel source directory is usually /usr/src/linux
 
Old 10-09-2003, 08:07 PM   #4
pesho_p
Member
 
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Re: how to check if kernel source is installed ?

Just to add to previous post: http://www.slackware.at/data/slackware-9.0/source/k/ - here you'll find the source of your current kernel (linux-2.4.20.tar.bz2).

As for the kernel directory: it's located in /usr/src/linux where linux is symlink to desired version. If you download, say, linux-2.4.20.tar.bz2 in /usr/src and unpack it with tar jxvf linux-2.4.20.tar.bz2 then you will have one directory called linux-2.4.20. If you plan to compile this kernel then you're supposed to link linux-2.4.20 as linux i.e. (being in /usr/src) ln -sf linux-2.4.20 linux. Then cd to linux and you'll be redirected to linux-2.4.20 (but it will be displayed just as linux tough). This way you can have as many kernel versions as you want. When you compile something for your current kernel make sure that linux points to the proper version. [Sorry for my English, this is not my native language, but I hope that you'll be able to understand].
 
Old 10-09-2003, 08:18 PM   #5
xprometeus
Member
 
Registered: Jul 2003
Distribution: Turbo Linux 10D
Posts: 39

Original Poster
Rep: Reputation: 15
thank ,you

thank you for your help .dont worry about bad english it isnt
also my native language. i undurstand anything


thank you Pesho_P & J.W.
 
  


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
Kernel source needs to be installed..? Wolvenmoon Debian 14 08-18-2005 04:58 PM
how to get the kernel-source installed??? luqman Red Hat 3 03-10-2005 04:31 PM
installed kernel source with YAST, kernel not there alagenchev SUSE / openSUSE 1 11-14-2004 11:02 AM
How can i tell if the kernel source has been installed or not? samatman Mandriva 4 03-10-2004 08:24 PM
Kernel Source Installed? How to tell? metsdada Linux - Newbie 13 01-02-2004 01:31 PM


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