5 points · by dakull · 13y ago · 2 comments
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'