4

I have Ubuntu installed on a small partition (20 GB), so my disk space is at quite a premium. I constantly have to clear out old linux-header-* and linux-image-* packages, because they consume relatively large amounts of storage for each version (~270 MB), which really adds up when there's like 20 of them installed.

There are times when apt-get autoremove gets rid of a few of them, but it still leaves a substantial amount behind.

Alex
  • 1,318

1 Answers1

8

Ubuntu keeps older kernels installed to let you boot Ubuntu with an older kernel in case the new kernel generates problems when starting the system. When you want to get rid of older kernels, you can remove them manually.

Here you find some more information and instructions on how to do this -> Remove Old Kernels

cl-netbox
  • 31,491