I am trying to upgrade my kernel, but I would like to avoid updating all of the packages that a sudo apt-get dist-upgrade
causes. I am running Ubuntu 14.04, if that matters. Is there a way to only upgrade the kernel?
Asked
Active
Viewed 3.1k times
13

Anthony Hilyard
- 391
1 Answers
16
You can upgrade just the kernel by running the following command:
sudo apt-get update && sudo apt-get install linux-image-generic
If you need headers for building kernel modules as well, you can also install them like so:
sudo apt-get update && sudo apt-get install linux-generic
It will update both linux-image-generic
& linux-headers-generic
.

user.dz
- 48,105

Anthony Hilyard
- 391
linux-generic
will install headers as well. And it is a typo anyway. The headers package islinux-headers-generic
. – Pilot6 Dec 14 '16 at 21:07