<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>Saving Space mini-HOWTO : A Real Life Example</TITLE> <LINK HREF="Saving-Space-5.html" REL=next> <LINK HREF="Saving-Space-3.html" REL=previous> <LINK HREF="Saving-Space.html#toc4" REL=contents> </HEAD> <BODY> <A HREF="Saving-Space-5.html">Next</A> <A HREF="Saving-Space-3.html">Previous</A> <A HREF="Saving-Space.html#toc4">Contents</A> <HR> <H2><A NAME="s4">4. A Real Life Example</A></H2> <P> <P>This is what I got applying the above procedure to one of my machines. Before the treatment, <CODE>df</CODE> reported I used 398,798 1024--blocks: <P> <UL> <LI> I didn't remove the kernel sources and the kernel headers; </LI> <LI> I uninstalled several applications and all of the games, but I left X11, X11 development, C and Fortran development, Tcl/Tk, networking tools, and a few other standard applications. <CODE>df</CODE> reported 244,668 used blocks; </LI> <LI> I ran <CODE>upx</CODE> on /usr/bin, /usr/X11R6/bin, /usr/lib/texmf/bin/i586-linux, and /usr/lib/gcc-lib/i386-linux/2.7.2.1. 226,270 used blocks; </LI> <LI> I compressed the documentation under /usr/doc and /usr/lib/texmf/texmf/doc: 198,745 used blocks. </LI> </UL> <P>To sum up, I started with 398,798 blocks and finished with 198,745. Think of the stuff you can shove in those 200,000 spared blocks! I would have saved even more if I had used <CODE>bzip2</CODE> instead of <CODE>gzip</CODE>. <P>On average, if you are careful from the beginning and install only the necessary applications, compressing executables and documents will save you some 20 Mb. On a notebook, this can be a lifesaver. <P> <P> <HR> <A HREF="Saving-Space-5.html">Next</A> <A HREF="Saving-Space-3.html">Previous</A> <A HREF="Saving-Space.html#toc4">Contents</A> </BODY> </HTML>