LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-29-2002, 06:52 PM   #1
hydrokracker
LQ Newbie
 
Registered: Oct 2002
Location: washington state
Distribution: rh 7.1
Posts: 8

Rep: Reputation: 0
rh 8.0 kernel-source


I'm a linux newbie and I just did a clean install of redhat 8.0 in hopes that I could get my wireless pci card to work WMP11, because I messed around with rh7.1 last week and couldn't get it to work. Anyways I will cut to the chase. How do I get the linux kernel-source in the /usr/src directory from the redhat cds. I looked through all of the cds and couldn't find a thing. I also searched through the whole forum and the net. The command that I used for rh7.1:
cd /mnt/cdrom/RedHat/RPMS
rpm -i kernel-source*.rpm

didn't work with any of the cds. Can some kind soul please point me in the right direction? Thanks!!!!!
 
Old 10-29-2002, 10:08 PM   #2
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
Otherwise download it from http://www.kernel.org and go from there. Itīs around 30 MB or so.
 
Old 10-30-2002, 02:03 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
cd /mnt/cdrom/RedHat/RPMS
rpm -i kernel-source*.rpm
that's a very bizarre way to do anything.... why stab in teh dark when you can just plain LOOK to see if the files are there. you should have kernel-source-2.4.18-14.i386.rpm on the first CD. try again, but do it properly this time huh?
 
Old 10-30-2002, 08:48 AM   #4
hydrokracker
LQ Newbie
 
Registered: Oct 2002
Location: washington state
Distribution: rh 7.1
Posts: 8

Original Poster
Rep: Reputation: 0
thanks everyone for the reply. acid....could you explain to me as to "the right way" to get the kernel-source. I am a newbie so I really don't know crap about linux and I'm trying to learn. Thanks!!!!
 
Old 10-30-2002, 10:30 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I believe what he meant was you can actually see the name of RPM in the directory. To view files in console the command is ls (LS lowercase) and there are other options for it as well. I prefer this when browsing large directories:
ls -l|less
That's all lowercase LS -L|LESS, notice the pipe | It's the key above the enter key on my US keyboard. Then to browse you can use the up and down arrows or Enter or spacebar.

From there, you can find the actual RPM you want to install, and not have to use wildcard character(s) *

Then type it out:
rpm -i kernel-source-2.4.18-14.i386.rpm

And don't forget tab autocompletion. Press TAB after typing kernel-source and see if it autocompletes.

Cool
 
Old 10-30-2002, 01:04 PM   #6
hydrokracker
LQ Newbie
 
Registered: Oct 2002
Location: washington state
Distribution: rh 7.1
Posts: 8

Original Poster
Rep: Reputation: 0
thanks Masterc, that worked perfectly except when I did the rpm it gave me a warning about V3 DSA signature: NOKEY, key ID db42a60e. I see the linux-2.4.18-14 in my /usr/src directory so I guess I will try and get my WMP11 working now. Thanks again!!!!!
 
  


Reply



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
Debain kernel source or Linux kernel source? kushalkoolwal Debian 4 11-28-2005 01:56 PM
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 12:34 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 10:28 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM

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

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