Stap 6: 1 GB SD-kaart - het Pi-dieet
We eindigden met een root-bestandssysteem van 2.3 Gbyte, na het verwijderen van de hele GUI en sommige andere pakketten.
Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 6.1G 2.3G 3.5G 39% /
Het is tijd om hele software "afdelingen", die niet worden beschouwd als "vereist" of "belangrijk" te verwijderen. Anders zullen we nooit bereiken een 1 Gbyte install base.
Java Programming python ruby
sudo apt purge bluej dh-python greenfoot idle idle-python2.7 idle-python3.4 idle3 java-common libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib libreoffice libservlet2.5-java libtcltk-ruby1.9.1 lxkeymap pypy-setuptools pypy-upstream pypy-upstream-dev python python-apt-common python-cairo python-chardet python-colorama python-dbus python-dbus-dev python-distlib python-gi python-gpiozero python-gtk2 python-html5lib python-minimal python-ndg-httpsclient python-numpy python-openssl python-picamera python-pifacecommon python-pifacedigitalio python-pil python-pip python-pkg-resources python-pyasn1 python-pygame python-requests python-rpi.gpio python-rtimulib python-sense-hat python-serial python-setuptools python-six python-spidev python-support python-talloc python-tk python-urllib3 python-wheel python-xklavier python2.7 python2.7-minimal python3 python3-apt python3-chardet python3-colorama python3-debian python3-dev python3-distlib python3-gpiozero python3-html5lib python3-minimal python3-numpy python3-pgzero python3-picamera python3-pifacecommon python3-pifacedigital-scratch-handler python3-pifacedigitalio python3-pil python3-pip python3-pkg-resources python3-pygame python3-requests python3-rpi.gpio python3-rtimulib python3-sense-hat python3-serial python3-setuptools python3-six python3-spidev python3-tk python3-uno python3-urllib3 python3-wheel python3.4 python3.4-dev python3.4-minimal ri1.9.1 ruby ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full ruby1.9.3 ruby2.1 rubygems-integration sudo apt-get autoremove
Deze zal gratis 426 en 161 MByte.
Filesystem Size Used Avail Use% Mounted on /dev/root 6.1G 1.5G 4.3G 26% /
debug devel lettertypen geluid tekst vcs xfce
sudo apt purge alsa-base alsa-utils aspell aspell-en binutils build-essential debconf-utils desktop-file-utils dictionaries-common esound-common fontconfig fontconfig-config fonts-dejavu fonts-dejavu-core fonts-dejavu-extra fonts-freefont-ttf fonts-opensymbol fonts-roboto fonts-sil-gentium-basic freepats g++ g++-4.9 gcc gcc-4.9 gdb gdbserver git git-core gsfonts gsfonts-x11 jackd jackd2 libc6-dbg libexttextcat-data libreoffice libruby1.9.1-dbg libscsynth1 libvisual-0.4-plugins libxfce4util-bin libxfce4util-common libxfce4util6 linux-libc-dev make patch pkg-config qjackctl sgml-base squeak-plugins-scratch supercollider supercollider-common supercollider-ide supercollider-language supercollider-server supercollider-supernova timidity xfce-keyboard-shortcuts xfconf xfonts-100dpi xfonts-encodings xml-core xpdf sudo apt-get autoremove
Deze zal gratis 350 en 152 MByte.
Filesystem Size Used Avail Use% Mounted on /dev/root 6.1G 972M 4.8G 17% /
doc editors tolken introspectie metapackages mail oldlibs web
sudo apt purge claws-mail cpp cpp-4.9 curl debian-reference-common debian-reference-en dillo ed emacsen-common gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-gmenu-3.0 gir1.2-gtk-3.0 gir1.2-pango-1.0 git-man javascript-common leafpad libhsqldb1.8.0-java libjs-jquery libjs-prettify libluajit-5.1-common libpango1.0-0 libpangox-1.0-0 libreoffice libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-java-common libreoffice-math libreoffice-style-galaxy libreoffice-writer lua5.1 luajit lxde lxde-core manpages-dev netsurf-common netsurf-gtk nodejs nodejs-legacy nodered pypy-upstream-doc python-gobject python-gobject-2 sonic-pi squeak-vm tcl8.5 tk8.5 sudo apt-get autoremove
Deze zal gratis 107 MByte.
Filesystem Size Used Avail Use% Mounted on /dev/root 6.4G 853M 5.2G 14% /
Bijna daar, verwijderen sommige grote bibliotheken
sudo apt purge gstreamer0.10-alsa gstreamer0.10-plugins-base gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x gvfs gvfs-common gvfs-daemons gvfs-libs libaspell15 libavcodec56 libavformat56 libavresample2 libavutil54 libcairo-gobject2 libcairo2 libclucene-contribs1 libclucene-core1 libdirectfb-1.2-9 libflite1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgles1-mesa libgles2-mesa libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libmwaw-0.3-3 libopencv-calib3d2.4 libopencv-contrib2.4 libopencv-core2.4 libopencv-features2d2.4 libopencv-flann2.4 libopencv-highgui2.4 libopencv-imgproc2.4 libopencv-legacy2.4 libopencv-ml2.4 libopencv-objdetect2.4 libopencv-video2.4 libqt4-dbus sudo libqt4-network libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libreoffice libruby1.9.1 libruby2.1 libwebkitgtk-3.0-0 libwebkitgtk-3.0-common sudo apt-get autoremove
Nu zijn we op 788 Mbyte:
Filesystem Size Used Avail Use% Mounted on /dev/root 6.4G 788M 5.3G 13% /
Reinig de APT-cache bespaart een paar Mbyte.
sudo sudo apt-get clean
Ten slotte is de root-map hieronder 700 Mbyte:
Filesystem Size Used Avail Use% Mounted on /dev/root 6.4G 685M 5.4G 12% /
Het is helaas niet mogelijk om te installeren van dit besturingssysteem, met Noobs, met behulp van een 1 GB SD-kaart. Maar de volgende stap toont hoe dit OS te installeren op een 1 GB SD-kaart.