I have installed and uninstalled a couple of kernels(including some low latency ones) to test them out.
Now I have:
$ uname -r
4.8.0-39-generic
But now I get the following message whenever I try to install other packages:
The following package was automatically installed and is no longer required:
thermald
Use 'sudo apt autoremove' to remove it.
I have tried to check the date when this thermald was installed using this answer here
And the date it shows me is: thermald 2016-07-19 15:48:01.000000000 -0500
I have installed Ubuntu in Nov 2016. So this is not the date when thermald is installed.
So is it safe to remove it using autoremove?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
I have used this tool to remove all the inactive kernels. ( Also tried 4.9.12 and 4.10 using this same tool)
I got the 4.8 kernel by doing this:
$ sudo apt-get update
$ apt-cache search linux-image
$ sudo apt-get install linux-headers-4.8.0-39-generic linux-image-4.8.0-39-generic linux-image-extra-4.8.0-39-generic