Linux – a typical size for a minimal Linux server install

debianinstallationlinuxUbuntu

Both Debian and Ubuntu end up with 500 Mb to 750 Mb in their "minimal" installations, even after starting with the "netinstall" iso or "business card" iso and no optional packages installed later on in the installation process. The Debian "netinstall" is a 180 Mb download, and the "biz card" iso is 50 Mb.

My question:
is this a typical size for a minimal server install?

In other, more contemporary words:
MINIMAL, Y U SO BIG?

Are there any other options/variants (primarily Debian) for keeping things as lean as possible without having to go the route of customizing one's own bare bones Debian install?

Thnx in advance.

Best Answer

Well, if you were to compile from nothing but source code and a cross compiler... the full kernel and API (libraries+headers), glibc, coreutils, gcc/binutils and a few necessary tools, you would typically be left with about a 600MB or so distro. Add to that your distro's choice of package management and default utilities you can see where your disk utilization is coming from. Micro/gutted distributions typically rip out all lib/binary debugging symbols and compile a smaller libc (such as dietlibc). They may also omit a full compile environment which sucks up a significant amount of disk space.

It is possible to compile a fully bootable x86 linux operating system in about 6MB of disk space. Make some further modifications and you can cram it in just a few hundred K of embedded flash. Take a look at tinycore/ucore linux. It is built off of fltk and I believe dietlibc (8MB with X, 6MB without).