3017
Comment: minor fix + ToDo added
|
3219
Replace the getty processes with the ngetty daemon
|
Deletions are marked like this. | Additions are marked like this. |
Line 34: | Line 34: |
{{ | {{{ |
Line 37: | Line 38: |
}} | }}} |
Line 43: | Line 44: |
{{rm /usr/share/doc/*/copyright*}} | {{{ rm /usr/share/doc/*/copyright* }}} |
Line 63: | Line 67: |
== Replace the getty processes with the ngetty single process daemon == The getty processes can be replaced by the ngetty single process daemon to reduce virtual memory utilization: |
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.
?TableOfContents(2)
Removing non-critical packages
Except essential packages aptitude search '!?essential', you can remove what you don't need.
- Replace packages with smaller equivalents :
Remove unnecessary locale files
The introduction of LanguagePacks (tdebs) may also help in reducing the size of the installation footprint.
It is recommended that the number of [:Locale:locale] configurations installed is kept to a minimum. By limiting the number of locale files built you can save 90% of the space taken up by storing these systems on your system and saves the compilation time for building the locale settings for each package. A side effect or reducing the number of locale options is that the compilation of the glibc library gets a lot faster.
ToDo: complete this section
Remove foreign language man files
- With appropriate privileges, it is possible to remove the foreign man pages as follows:
rm -rf /usr/share/man/?? rm -rf /usr/share/man/??_*
- Note: There is also a purgelocales package that will remove the man pages, but that destroys the package management and package building system.
Removing copyright files
- With appropriate privileges, it is possible to remove the copyright files as follows:
rm /usr/share/doc/*/copyright*
Rebuilding packages using the Tiny C Compiler
Remove unnecessary cups dependencies
During installation of cupsys, the Debian installer may attempt to drag in unnecessary package dependencies. The cupsys daemon can function without these optional components, and they can be deselected from installation:
SmallKernel Build a smaller kernel using fewer options
Reduce the size of the X installation footprint
- You can remove the packages xserver-xorg-video-* that you don't use. you should still keep xserver-xorg-video-vesa.
Replace the getty processes with the ngetty single process daemon
The getty processes can be replaced by the ngetty single process daemon to reduce virtual memory utilization:
See Also
["?DebianLive/HowTo/SmallSizeImage"]