Remove Unwanted Files - Raspberry Pi

From ETCwiki
Revision as of 18:11, 25 September 2013 by Ddxfish (talk | contribs) (Ddxfish moved page Raspberry Pi - Remove Unwanted Files to Remove Unwanted Files - Raspberry Pi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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