Difference between revisions of "Remove Unwanted Files - Raspberry Pi"

From ETCwiki
Jump to navigationJump to search
 
(No difference)

Latest revision as of 18:11, 25 September 2013

I 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