LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-02-2004, 04:31 PM   #1
lostlyre
Member
 
Registered: Mar 2004
Location: Fairfield, OH
Distribution: Gentoo 2005.1 AMD64 2.6.12-r6
Posts: 41

Rep: Reputation: 15
need to install kernel source files (mandrake 10) in console


Does anyone know how I can install my kernel source files from my Mandrake 10 CDs in the command console? I accidentally deleted them and I need to install my video drivers with the sources files in usr/src/linux . I've got all of my cd's I just need to know how to install them and in the right place. Any help is appreciated.

Thanks!
 
Old 04-02-2004, 04:42 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"Does anyone know how I can install my kernel source files from my Mandrake 10 CDs in the command console?"

First find the kernel source on your install CDs. It is probably on one of the last 3 CDs. Start at the last CD and search forward. For each CD mount the CD:
mkdir /pluto
mount -t iso9660 /dev/cdrom /pluto
Then search the CD for the kernel source:
find /pluto -iname "*kernel*"
If the kernel is not on that CD:
umount /pluto
and mount the next CD.

When you find the kernel source rpm then install it with:
rpm -i /pluto/rest.of.pathname/kernel.something.rpm

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 04-02-2004, 04:45 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Command:

uname -r
then
urpmi kernel-sources

That returns a list you can select from, IIRC
 
  


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
location of mandrake 9.0 linux kernel source files Mariory Mandriva 3 12-20-2004 09:01 PM
how to install kernel source in mandrake appas Mandriva 2 09-25-2004 04:45 AM
Mandrake 8.1 need help in getting Kernel source files CorpChAoS Mandriva 2 01-19-2004 05:54 AM
Mandrake Update and Kernel Source Files Campy19 Mandriva 2 12-24-2003 03:59 PM
How to install kernel-source files? (v 2.4.22) Pisces107 Linux - Newbie 12 12-17-2003 07:34 AM


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