Importance and use of these files
Hi,
I am using Debian Lenny and I am trying to make Debian system as lean as possible by removing all the unnecessary packages. So far I have been able to make my Debian system 210MB in size. Now using "du" utility I found the following files which seems to be quite large: Code:
Now I was wondering that if I can somehow compress these files or make these files disappear somehow I can get around 60 MB of free space. However I do understand that these files might be require every time whenever "apt-get" gets called. Can anyone shed some light on these files and give some idea as to how can I avoid using these (or at least some of these) files without breaking the Debian package management system? |
How small is your hard drive? I wouldn't muck about with the package management files for no reason.
|
Quote:
|
Well, you could make a non-updatable Debian system. q;o)
I'd be really surprised if someone hadn't done this already. Also, check out monowall. It's FreeBSD-based, but it fits on like 32 MB or so. |
Quote:
I'd be really surprised if someone hadn't done this already. Quote:
|
Aha! Why not use Damn Small Linux? How big is it when installed?
|
OUt of curiosity would you post the list of packages in your 'stripped' Debian ? maybe someone here will spot other items that are not necessary.
I also run localepurge on my Debian boxes to remove man pages for languages I do not read.. this is handled automatically and does save a bit of space. A custom kernel could also save you space.. strip out the items you do not need for your system when compiling. |
[QUOTE=farslayer;3400181]OUt of curiosity would you post the list of packages in your 'stripped' Debian ? maybe someone here will spot other items that are not necessary. [QUOTE=farslayer;3400181]
Thank you first of all for the your offer to help me out. Sure here is the list. Note that there are some packages like usbmount, wireless-tools, cpp, etc. that I understand are option but I need them in my system. I have marked those packages with Green color. Code:
adduser install Code:
28 libtext-wrapi18n-perl Quote:
Any help in reducing the size even by few MB would be a step in forward direction at this point of time. |
I'm surprised that you would have gcc and things for compiling on what would be an embedded system..
Wouldn't you do any necessary compiling on another box, then copy your compiled modules / apps over to the embedded system ? pcmciautils - Is there actually a PCMCIA slot on the embedded system ? locate --- database of the directories on your system.. not needed if you can wait for find when searching. you also have the size of hte database, and overhead of the indexing manpages - why bother with manual pages at all on an embedded system, look em up online man-db - same reason info - Documentation viewer netcat nifty network utility for doing interesting things.. minicom - serial communications program libfreetype - Font engine shared library files.. I don't see X anywhere shouldn't need this. links - text based web browser.. fdutils - please tell me there isn't a floppy drive on your embedded machine.. :) ed / nano both are editors one of then could go.. Of course I don't know the purpose of your device, so... I should throw a disclaimer here as well.. in case removal of one of these breaks the system.. so count yourself notified.. but I don't think anything I've listed would be an issue. |
Quote:
Quote:
|
theres a brief list.. just edited the previous post.. bumping to send notification
|
Could you remove aptitude (9648 Kb) and make do with apt-get?
Edit: And dselect (2164 Kb) could be removed. |
All times are GMT -5. The time now is 11:23 AM. |