In the process this week of producing a new new Raspberry Pi2 with just the stuff I needed on it I thought I’d have a go at removing unnecessary programs from the Pi – that is the ones that come with it – after all the Debian installation from the NOOBS package is designed to please all.
I have not and never did have a use for the Wlfram engine but I had no idea how much room I’d save – was it even worth removing?
OH YES.
Between Wolfram-engine, minecraft-pi, scratch and sonic-pi I just saved 584 Mb. Now if you’re using an 8GB microSD that is a significant chunk! I’m using a 16GB but I’m still happy to gain that chunk back.
My install script has the following in it:
sudo apt-get upgrade
sudo apt-get install subversion screen vim console-data
sudo apt-get remove –purge -y cups* gnome* x11-common* xserver-common \
lightdm python-pygame python3-pygame \
epiphany-browser-data libmenu-cache1 \
dbus-x11 gstreamer1.0-x desktop-base dillo libx11-6 libx11-data libxau6 libxcb-glx0 \
libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-xfixes0 libxcb1 libxdamage1 libxdmcp6 \
libxext6 libxfixes3 libxinerama1 libxmuu1 libxv1 libxxf86vm1
sudo apt-get install ca-certificates rpi-update
sudo rpi-update
sudo apt-get -y autoremove
sudo apt-get -y update
Most of the other crud get removed in autoremove etc because of dependencies on the X and desktop systems. I am also intending to move over to F2FS, but I can’t be bothered to rebuild my own kernel so I will just wait for the production version of the 3.9 kernel to be released first.
Hope this helps 🙂
BTW, I don’t know what blog engine you are using, but it would be nice to be able to use markup in the posts to escape code blocks properly, and be able to edit your previous posts to fix typos 🙁
WordPress!