1

After setting up a new Ubuntu virtual machine guest, I like to take a disk snapshot so that I can restore to a working state in case I break something later on. I'd like to avoid snapshotting unnecessary files, so I always run apt-get clean beforehand.

What else might I be interested in cleaning up before taking the snapshot?

ændrük
  • 76,794

2 Answers2

3

Not sure what cruft there should be on a fresh installation apart from the apt cache. I'd rather concentrate on uninstalling unneeded packages. In synaptic you can sort them by install size.

htorque
  • 64,798
0

Depending on your programs, but I think that you can pretty much purge everything in /var/cache/ and ~/.cache and also delete your browser's cache or other programs like that.