If you’re looking to save some space on your Raspberry Pi (mine runs on a 4 GB SD card), run these commands to remove all desktop/gui-related programs: That will remove the desktop programs and any orphan programs left behind. Check out more posts about the Raspberry Pi here: Raspberry Pi Posts