Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!!!!!
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?
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!!!!
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.
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!!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.