sudo aptitude autoclean
sudo aptitude cleanUser's trash folder:
rm -r -f ~/.local/share/Trash/files/*7 days-old user's thumbnails:
find ~/.thumbnails -type f -atime +7 -exec rm {} \;Multiple Linux kernels:
- Identify installed kernels:
sudo dpkg -l | grep linux
- Delete kernels not used anymore but keep installed the 2 latests. Ex. to delete kernel 2.6.32-25:
sudo aptitude purge linux-headers-2.6.32-25 linux-headers-2.6.32-25-generic linux-image-2.6.32-25-genericConfiguration files (may not work):
sudo dpkg --purge $(COLUMNS=200 dpkg -l | grep "^rc" | tr -s ' ' | cut -d ' ' -f 2)Internet programs:
Internet browsers and email clients could use lot of disk space to store browsing history, offline data or emails. Check your programs preferences to clear automatically or manually the cache. Additionally, set a limit to the amount of space that could be used for storage. For example in Firefox 5.0 see:
- Preferences/Privacy/Clear your recent history
- Preferences/Advanced/Network/Offline storage/
- Clear now
- or Limit cache to ...
Partly from: http://www.commentcamarche.net/faq/7214-faire-le-menage-dans-ubuntu-residus-de-configuration-paquets
Aucun commentaire:
Enregistrer un commentaire