2

Just like the title says. Is there a way to do it?

Usually after a kernel update I run

sudo apt autoremove

and it will remove older kernels. A bit annoying because it consumes too much space on my drive.

  • Please let's focus on the topic of automatic removal, and not mark is as a duplicate of this. Also, I think it should be 'automatic removal of old kernels and headers'. Both take disk space when a lot is accumulated. – mikewhatever Aug 11 '17 at 08:27
  • 1
    https://help.ubuntu.com/community/RemoveOldKernels. Automatic Maintenance section – EdiD Aug 11 '17 at 15:34

0 Answers0