LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing The Kernel (https://www.linuxquestions.org/questions/linux-newbie-8/installing-the-kernel-233465/)

DRAYKKO 09-21-2004 02:07 PM

Installing The Kernel
 
I'm a bit perplexed. I recently installed Fedora 2 on my laptop, and I'm trying to figure out whether the kernel (2.6.5-1.358) is already installed or if I have to install it.

This whole thing precipitated from the fact that I'm trying to get the laptop's onboard modem to work, but the instructions for the SmartLink drivers (which were recommended after running scanmodem from linmodems.org), say that the Kernel will need to be installed.

If there's no way to know whether it's already installed, would re-installing it cause any damage? Any help you guys (and gals) could give would be greatly appreciated....

Dre---

kilgoretrout 09-21-2004 02:21 PM

If you want to know what kernel your running, just run:

$ uname -r

btmiller 09-21-2004 04:13 PM

If the kernel wasn't installed, you wouldn't be able to run Linux :). You're probably wondering about whether the kernel sources are installed, and they may well not be. If there's nothing in your /usr/src/linux directory, the kernel sources aren't installed. Look for the kernel-source RPM that came with your fedora and install it.

DRAYKKO 09-22-2004 04:19 AM

Quote:

Originally posted by btmiller
If the kernel wasn't installed, you wouldn't be able to run Linux :). You're probably wondering about whether the kernel sources are installed, and they may well not be. If there's nothing in your /usr/src/linux directory, the kernel sources aren't installed. Look for the kernel-source RPM that came with your fedora and install it.
Thank you! :)
The weird thing is that when I go to the /usr/src/linux directory, ther are files in the directory.

Another peer suggested I run the following command

[-d/lib/modules/$(uname -r)/build] && echo yes || echo no

and when I did I got a message saying "No such file or directory no". I understand this means that the sources (or headers?) are not installed? Where can I find the kernel-source RPM? (I installed from CD's that came with the "Fedora 2 Bible" text.)

Dre---


All times are GMT -5. The time now is 02:36 AM.