LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 07: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, 11: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, 03:03 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 09: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, 11:30 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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, 02: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


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


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