Remove Unwanted Files - Raspberry Pi
From ETCwiki
(Redirected from Raspberry Pi - Remove Unwanted Files)
Jump to navigationJump to searchI backup my pi on a regular basis and I have not been using the desktop on this install at all. I want to remove stuff that is not necessary like locales. Make sure you setup your locale before removing the others! Setup your Locale
raspi-config
Remove unused locales (brought me back 70mb of my 500mb image) Note: this remove all BUT en_US.UTF-8 so make sure u enter the names u want to keep
apt-get install localepurge (during install you select which locales to keep!) localepurge
Clean up apt-get junk
apt-get autoremove apt-get autoclean apt-get clean