If you setup your Raspberry Pi using the NOOBs installer you likely have various apps that you don’t want to keep.
This script below will remove many of the preinstalled applications.
- wolfram-engine
- bluej
- geany
- greenfoot
- nodered
- nuscratch
- scratch
- sonic-pi
- libreoffice
- claws-mail
- claws-mail-i18n
- minecraft-pi
- pygame
for i in wolfram-engine \ bluej \ Greenfoot \ nodered \ nuscratch \ scratch \ sonic-pi* \ libreoffice* \ claws-mail \ claws-mail-i18n \ minecraft-pi \ *pygame \ geany \ geany-common \ penguinspuzzle \ *pgzero; do sudo apt remove -y --purge $i done sudo apt autoremove -y sudo apt-get update && sudo apt-get upgrade -y sudo reboot
If you are running as a server you may also want to remove the user interface (Gnome)
sudo apt-get remove task-desktop -y sudo tasksel remove gnome-desktop sudo apt-get --purge autoremove -y
Last Updated on March 26, 2019