DebianThis forum is for the discussion of Debian Linux.
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.
I just installed a debian minimum system and I am trying to reduce my installation size further. Right now I am at 284 MB and I would like to reduce it by atleast 40-50MBs. Here is the output of dpkg--get-selections:
Please note that I have already used localepurge, deborphan, debfoster, remove docs folder,etc.
I would now further like to reduce the installation size by removing packages that are unecessary. All I need is to reduce to a basic text base system from which I can connect to Internt and use apt-get to install/remove packages and perform some basic admin functions.
I don't quite see a question in your post. Anyway, this will list the installed packages by size:
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
You could probably remove bison, openbsd-inetd, splashy, telnet, pcmcia-cs and pcmciautils if you don't have a laptop and replace exim with something lighter. Also you might not need both 3.3 and 4.1 gcc versions. Set up your hardware manually and get rid of discover. Do a "apt-get clean". It's a bit difficult really to say what you might not need.
I don't quite see a question in your post. Anyway, this will list the installed packages by size:
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
You could probably remove bison, openbsd-inetd, splashy, telnet, pcmcia-cs and pcmciautils if you don't have a laptop and replace exim with something lighter. Also you might not need both 3.3 and 4.1 gcc versions. Set up your hardware manually and get rid of discover. Do a "apt-get clean". It's a bit difficult really to say what you might not need.
Thanks Makuyl...I will try your suggestions...Basically what I need is a minimal debian system which can fit on a 256 MB Compact Flash device.
Debian minimal install is around 100MB using debbootstrap (at least sarge was around 110Mb if I remember, dunno for etch)
Going under is another level of tweaking, you can't remove packages like this, they have to be recompiled or replaced by alternatives. There is embedian project also.
Debian minimal install is around 100MB using debbootstrap (at least sarge was around 110Mb if I remember, dunno for etch)
Going under is another level of tweaking, you can't remove packages like this, they have to be recompiled or replaced by alternatives. There is embedian project also.
Thanks nx5000. I guess that's what I have been looking for. Do you any pointer/tutorials which explains how to minimally install Debian using debbootstrab as you mentioned in your last post?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.