LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2004, 11:33 AM   #1
SGFHK321
Member
 
Registered: Jul 2004
Location: Hong Kong
Posts: 78

Rep: Reputation: 15
Where is the linux kernel source code located in mandrake 10?


I am trying to install the newest version of ALSA to fix my sound problem, but I need to locat my linux kernel before doing that.

Quote:
If you have kernel source code in another directory than /usr/src/linux,
use --with-kernel=<kernel_directory>.
Example: ./configure --with-debug=full
Since there is no such directory as /usr/src/linux in my computer the directory I am looking for must be located elsewhere. Please help. Thank you.
 
Old 07-12-2004, 11:40 AM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Looks like it wants the kernel source code which isn't installed by default... You'll have to install it from the CD's.
 
Old 07-12-2004, 11:44 AM   #3
SGFHK321
Member
 
Registered: Jul 2004
Location: Hong Kong
Posts: 78

Original Poster
Rep: Reputation: 15
can you name the rpm package? I am so confused by the huge list.
 
Old 07-12-2004, 12:04 PM   #4
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
just type as root:

urpmi kernel-source

Cheers
 
Old 07-12-2004, 12:11 PM   #5
SGFHK321
Member
 
Registered: Jul 2004
Location: Hong Kong
Posts: 78

Original Poster
Rep: Reputation: 15
thanks a lot, but can you explain a little about this command? what does "urpmi" mean?
 
Old 07-12-2004, 12:13 PM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Well, you could use urpmi as suggested, or look for the Kernel-source-xxx rpm. the version will depend on what you are running on the system - ie 2.4 or 2.6

use cat /proc/version to see what you are running.

Or you could use the mandrake gui tool and look under developement and such...
 
Old 07-12-2004, 11:52 PM   #7
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
urpmi is a tool similar to Debian's apt-get tool. Its designed to install a file and all the files it depends on to work. As opposed to the Windows way, where software developers package all the .dlls and .vxds they use in the program, only to replace any that are already in the registry and system32 folder (or bloat it), Linux usually follows a philosophy of installing only what's needed, which is why there are dependancies.

You don't necessarily have to use urpmi directly. You can use RPMdrake and click your way to an install, but the command in the case is faster.
 
  


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
Where can I get the Mandrake Kernel Source code? tur third Mandriva 3 06-15-2005 04:09 AM
Mandrake 10.1: nvidia driver & kernel source code raxxal Mandriva 5 02-23-2005 12:18 PM
linux kernel source code legolas_t Programming 1 09-17-2004 07:13 AM
Mandrake 9.1 Kernel Source Code? DaCypher Linux - Software 3 06-30-2003 02:53 PM
Where's my kernel source located??? jaycee999 Linux - Newbie 2 04-07-2002 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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