Remove games and IDEs from Raspberry Pi OS

Discussion in 'Tips and Tricks' started by AD5MB, Aug 26, 2021.

ad: L-HROutlet
ad: l-rl
ad: Left-2
ad: L-Geochron
ad: Left-3
ad: L-MFJ
ad: abrind-2
  1. AD5MB

    AD5MB Ham Member QRZ Page

    this script will flush all the games but the menu for Python Games from the Raspberry Pi OS

    The IDEs take up about 1 gig. This script removes everything but nodered and Thonny

    if you run it before you change the default password, sudo su works without a password. just paste it in the terminal and tap y if it stops. copy the line below the script to get the last return.

    to remove nodered and thonny just add them before the -y. to remove libre office add libreoffice* before the -y.

    sudo su

    apt-get remove bluej geany greenfoot* wolfram-engine \
    mu-editor nodered scratch* sonic-pi python-sense* smartsim \
    claws-mail teamviewer-host realvnc-vnc* \
    python-minecraftpi python3-minecraftpi \
    minecraft-pi python-pygame code-the-classics -y
    rm -rf ~/python_games
    apt autoremove

    this script loads PIScope, which lets you see activity in the various serial, I2C and SPI ports

    tar xvf piscope.tar
    cd PISCOPE
    make hf
    make install
    cd /
    K2CAJ, WG4USA and KM5BOR like this.

Share This Page