LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel source directory way too large (https://www.linuxquestions.org/questions/linux-software-2/kernel-source-directory-way-too-large-397129/)

Ahmed 12-28-2005 05:18 AM

Kernel source directory way too large
 
Hi all, I succesfully compiled the vanilla kernel (2.6.14-5) and am using it now. Before I used to get the binary Kernel packages via yum (am using Fedora Core 4 atm), along with the kernel source packages. The source directories of the binary packages were all 24 MB large. After compiling the vanilla kernel though, it's directory went up to 1.1 GB. I executed "make clean" and it shrunk to 212 MB. But I still think that's too much
What's up with that? :confused: There are definitely a few things I can delete from the directory safely, but what? Any tips are appreciated. Thanks! :)

-A

masand 12-28-2005 05:43 AM

You might be getting the kernel along with the required headers,You cannot compile a kernel with the kernel headers

Or you can compress your kernel source directory and bring that down to 37-45 MB
this is the standard size of a kernel source package w.r.t to bunzipped or gunzipped kernel source

regards

Ahmed 12-28-2005 05:55 AM

The thing is, the directory provided by the binary package isn't archived. So there's definitely something in the new kernel directory that I don't necessarily need anymore.. Any ideas? Or should I just compare both directories and see what's extra in the new one?

Thanks

-A

masand 12-28-2005 06:27 AM

well the best thing is explore yourself!!

as i stated earlier

that you might have got the kernel-header,not the full source to compile you kernel

regards


All times are GMT -5. The time now is 01:17 PM.