keep raspberry pi images small



remove the GUI if you don 't need it

delete downloaded .deb packages
# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          3.6G  1.2G  2.3G  34% /
...

# ls /var/cache/apt/archives/
autoconf_2.69-1_all.deb      libldap2-dev_2.4.31-1+nmu2_armhf.deb     lockfile-progs_0.1.17_armhf.deb
automake_1%3a1.11.6-1_all.deb     liblockfile1_1.09-5_armhf.deb      m4_1.4.16-3_armhf.deb
autotools-dev_20120608.1_all.deb    liblockfile-bin_1.09-5_armhf.deb

...



# apt-get clean
# ls /var/cache/apt/archives/ 
lock  partial



# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          3.6G  1.1G  2.4G  32% /
...




keep raspberry pi images small