Live data from Hacker News

How to reduce the size of your VMs

marianposaceanu.com

1–3 of 3 posts

Re: How to reduce the size of your VMs

#2
Debian/Ubuntu systems can accumulate a lot of cruft. Fortunately, it is quite easy to clean up your installed packages. Most people would probably be okay with this:

    aptitude markauto '~i!~M!~nbuild-essential(~E|~prequired|~sdevel|~sinterpreters|~slibdevel|~slibs|~soldlibs|~sperl|~spython)'
You can then see which non-essential packages are installed with

    aptitude search '~i!~M!?essential'