Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-09-2003, 07:23 PM   #1
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
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 86
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: -- J.W.
Old 10-09-2003, 07:58 PM   #3
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
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: - 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
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.


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration