2

I have many old kernels and I'd like to know which is the safest way to remove them.

Thank you

ubu16
  • 101

1 Answers1

2

sudo apt autoremove

The man (manual) page states autoremove

       autoremove is used to remove packages that were automatically
       installed to satisfy dependencies for other packages and are now no
       longer needed.

which includes old kernels.

guiverc
  • 33,561