Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Rhetorical question (in about 2 days it won't be so rhetorical):
If I were to upgrade my kernel from 2.4.x to 2.6.x, at what point would I be able to delete my 2.4.x kernel/source/headers? And where would I find these on a typical Slack 10.2 installation? (I know the source would be in /usr/src/linux-2.4.x...)
I obviously would have to tweak my new kernel and make sure it's stable/bootable/usable. After that, are there any other requirements? Will I need to keep my old 2.4 information for any previously-compiled software? Will I need to re-compile anything? (For instance, the nVIDIA driver insists on being recompiled every time the kernel is recompiled, even if nothing changed.)
I would keep the old kernel around. It doesn't take that much space and you may find you will want it for one thing or another later down the road. I would say once you're at the new kernel level and are happily running for a few weeks then kill it.
You can delete the kernel source for the 2.4 kernel if you want to save space; you would only need it to compile a new 2.4 kernel or a 2.4 kernel module/driver. If you don't need to compile kernel stuff you can even run without the kernel source/headers and many distros ship without either.
You will have to recompile any kernel modules/drivers for your 2.6 kernel that you did for your 2.4 kernel. Most commonly these are your graphics card driver(nvidia or ati) and ndiswrapper if you are running a wireless card that needs it. Programs in general do not need to be recompiled as these are compiled against your C and C++ libraries with gcc, all of which will not change with your new kernel.
Thanks to both of you for the information. Maybe I'll keep the 2.4 kernel around until I get bored, then delete it and see what breaks (though with your advice, the answer should be nothing).
You shouldn't delete your kernel headers. You can delete kernel source (even I don't recommend), but not kernel headers. Kernel headers are used to compile the programs by glibc and kernel source is usually needed when you install additional drivers not supported by kernel, for example, nvidia.
You shouldn't delete your kernel headers. You can delete kernel source (even I don't recommend), but not kernel headers. Kernel headers are used to compile the programs by glibc and kernel source is usually needed when you install additional drivers not supported by kernel, for example, nvidia.
If he upgrades to a 2.6 kernel successfully, he should be able to delete the 2.4 kernel headers once his stable on 2.6, right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.