LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 12-28-2005, 05:18 AM   #1
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Rep: Reputation: 41
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? There are definitely a few things I can delete from the directory safely, but what? Any tips are appreciated. Thanks!

-A
 
Old 12-28-2005, 05:43 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 12-28-2005, 05:55 AM   #3
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Original Poster
Rep: Reputation: 41
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
 
Old 12-28-2005, 06:27 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Point to current kernel source directory starunj Linux - Newbie 1 10-24-2004 07:33 PM
How to install/create kernel source directory in RH acrors Red Hat 4 08-10-2004 03:37 AM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
where is my kernel source directory? Veivann Linux - Newbie 3 02-19-2004 03:15 PM
Where is the kernel source directory in Libranet? seppe Debian 1 09-21-2003 09:40 AM


All times are GMT -5. The time now is 12:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration