Share your knowledge at the LQ Wiki.
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 04-02-2004, 04:31 PM   #1
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.

Old 04-02-2004, 04:42 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"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.

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

Rep: Reputation: 58

uname -r
urpmi kernel-sources

That returns a list you can select from, IIRC


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

All times are GMT -5. The time now is 06:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration