Clean up Your Boot Partition Ubuntu

If you constantly run out of space in the boot partition, you might need to run the following command to cleanup the boot partition.

apt-get autoremove


apt-get --purge autoremove

You can remove the old kernel manually. I suggest leaving the older one and the latest.
Delete the kernel in between.