You are viewing an old revision of this post, from December 4, 2017 @ 06:35:56. See below for differences between this version and the current revision.

Tip: Installing specific Linux kernel version

In the case that you ever needed to install a specific Linux kernel version in order to run a particular release, here are some quick tips. Note: This will only apply to Ubuntu/Debian users as RHEL/CentOS users won't ever have such a need.
  1. (Optional) Check that the particular image you are interested in is available to you. In a shell prompt, run: sudo apt-cache search linux-image | grep <version>-generic E.g., sudo apt-cache search linux-image | grep 3.19.0-80-generic
  2. Install the kernel image you need. You only need the kernel image. sudo apt-get install linux-image-<version>-generic E.g., sudo apt-get install linux-image-3.19.0-80-generic However, you can choose to install the extras too in order to be complete. sudo apt-get install linux-image-<version>-generic linux-image-extra-<version>-generic linux-headers-<version> linux-headers-<version>-generic E.g., sudo apt-get install linux-image-3.19.0-80-generic linux-image-extra-3.19.0-80-generic linux-headers-3.19.0-80 linux-headers-3.19.0-80-generic
  3. Reboot into the new kernel (make sure to select it in the GRUB menu on boot - See: https://askubuntu.com/questions/621393/how-to-change-kernel-at-boot)

Revisions

Revision Differences

There are no differences between the December 4, 2017 @ 06:35:56 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply