Raspbian, the OS that most people usually install on their Pi devices, comes with just about everything you might need to get the most out of the device. Of course, this stuff takes up space, so if you don’t (or don’t) need LibreOffice, it’s worth wolfram, minecraft or Sonic, you can free up about 1 GB of space by deleting them !
sudo apt-get purge wolfram-engine
sudo apt-get clean
sudo apt-get autoremove
To remove other applications, replace
wolfram-engine on the