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.
Determine which Kernel you need the source for. Make sure your CD is in your /etc/apt/sources.list. Issue the command apt-get install libcurses5 libcurses5-dev kernel-package kernel-headers-#.#.# kernel-source-#.#.# which will install the Kernel source, header and package manager (substitute the appropriate kernel version for #.#.#).
txGeek:..
First: Does your apt-get command install the kernel (and the rest of the command attributes) in /usr/src/ ?
Second: Do I really need all the libraries, packages etc. OR is the kernel-source-#.#.# just enough.... I only want to install my SBaudigy souncard and my Ati Radeon videocard....
Uhmm.. It didn't work..
I issued the command you gave me. Then I looked at the directory, but there still wasn't any source in it (moreover the /usr/src/kernel-source-#.#.# wasn't even there! )
What it did was tell me that mplayer-k6 wasn't properly installed (I know: that's 1 of the reasons I needed the kernel.. l0l)..something about a few libraries not installed..
Anyhow, what do I check/do now? (I still really don't get when and how to use apt-get and dselect... and I DID rtfm .. )
Originally posted by Debianewb Uhmm.. It didn't work..
I issued the command you gave me. Then I looked at the directory, but there still wasn't any source in it (moreover the /usr/src/kernel-source-#.#.# wasn't even there! )
You didn't literally type in #.#.# did you? If so, you need to replace the #.#.# with the appropriate kernel version like kernel-source-2.4.19.
With this Image Kernel 2.4.18-bf2.4 will be installed.
Debian already contatins that kernel on the 3.0 cdrom, when you boot the installation you just have to type bf2.4 to install with the 2.4.18-bf2.4 kernel.
----------------------------
First write apt-cache search kernel-source
Then you have a list of the kernels available.
So it will f.ex. be:
apt-get install kernel-source.2.4.19
When you install the kernel, it puts it in /usr/src as a bz2 compressed file as far as i remember.
I extracted the file, because I reckoned the install-procedure for the SBAudigy drivers would need it that way.
Now, at this point the drivers still would'nt install. I figured out that I had to make the kernel, but this is where I get confused:
I'm perfectly happy with the way my Linux-setup works, therefor I don't want to change anything except for adding my soundcard and some more software.
I still don't quite understand if now my OS will use the uncompressed kernel and it's default settings or my "old" setup.
So I choose for make oldconfig (followed by make)in the hope it would keep my previous settings... Is this assumption correct?
If so, my modules still don't work. How can I fix this? (more makes?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.