Recently i ran out of disk space on my linux partition and i wanted to clean it up to free some space. I knew for sure that junk files exists but wasn't completely sure what files i can remove to keep system from broking. Once again google comes into play. Here is a short description of how to clean up the mess! Im using Debian etch for this walk-through. This is actually just a little reminder.
1. Cleaning residual config packages
Open up Synaptic Package Manager under Desktop -> Administration and enter root password. Under 'Status' filters (lower left part of the screen) select 'residual config', mark all packages, right click and select 'Mark for completely removal' and click apply button.
2. Removing partial packages
Open up terminal and type:
# sudo apt-get autoclean
3. Unnecessary locale data
Just install 'localepurge' package and after installing anything this script will remove unnecessary locale data, all but the ones you selected not to.
4. Removing orphaned packages
Install 'deborphan' package. In Synaptic Package Manager under select 'Filters' under Settings menu, create a new filter and on the right deselect all checkboxes but leave the one that says 'Orphaned' unchecked. Now select this new filter under 'Costum filters' selection and u may remove all those packages.
Sunday, 30 March 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment