Reducing the size of the Debian Installation Footprint It may be useful to reduce the size of the installation footprint on Embedded systems, or on older computers or laptops with limited drive space, or in cases where a small installation is preferred. Minimal systems in general also carry security benefits because fewer packages means that there are fewer security exploits available. Have not found a recursive option!
If LILO or something else is used change this! Remove unnecessary packages in general Apt has an inbuilt feature to remove files that are no longer required by your system.
Run the following command to remove unnecessary packages: apt autoremove Unfortunately, apt does not always manage to find and purge all unused files.
This can be a problem particularly when a program has been installed outside of apt such as with make install. Add only the packages you need. It may take a few days for your system to stabilize in the sense that you're no longer adding packages , but you'll end up with a lean build.
That just works. If you'll look under various system directories, you'll find that a number of things contribute to size. Kernel and modules build your own statically compiled kernel , internationalization, documentation, and package repos will account for a lot.
There are tools deborphan, localepurge, etc. There are builds which are specifically designed for very small form factors, utilizing mudebs and the like. If you have an interest in these, explore on your own.
If you uncheck the "standard system tools" option during a debian squeeze install, it takes MB and installs the following packages. It's available Here. During installation of Debian you can unselect the "Base System" task and have an extremely minimal system of only around MiB. Doing this wont have a lot of the commonly expected packages installed.
Alternatively there is Emdebian , which can be installed in less than 32MiB. I can't speak to ubuntu but a redhat install deselecting everything yields about MB.
So just less than a gig seems pretty standard for a minimal install across the board. Keep in mind that you can customize it even further and remove bluetooth and other packages to slim it down. They are typically installed so the widest audience can get what they need out of the box. Unfortunately I have no use for qlogic drivers on my laptop, but that lets me remove even more packages. Sign up to join this community. The best answers are voted up and rise to the top.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. What is a typical size for a minimal Linux server install?
Ask Question. Asked 10 years, 10 months ago. Active 9 years, 6 months ago. Viewed 30k times. My question: is this a typical size for a minimal server install? Thnx in advance. Improve this question. How long is a piece of string - some pretty small installs can be found here — user It is possible to run a graphical desktop environment on older or low-end systems, but in that case it is recommended to install a window manager that is less resource-hungry than those of the GNOME or KDE desktop environments; alternatives include xfce4 , icewm and wmaker , but there are others to choose from.
It is practically impossible to give general memory or disk space requirements for server installations as those very much depend on what the server is to be used for. Remember that these sizes don't include all the other materials which are usually to be found, such as user files, mail, and data.
It is always best to be generous when considering the space for your own files and data. The dpkg files with information on all installed packages can easily consume 40MB.
0コメント