Revision 2955 is a pre-publication revision. (Viewing current revision instead.)

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

December 3, 2017 @ 22:29:36Current Revision
Content
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. 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.
  <strong>Note:</strong> This will only apply to Ubuntu/Debian users as RHEL/CentOS users won't ever have such a need.
<ol> <ol>
<li>(Optional) Check that the particular image you are interested in is available to you. <li>(Optional) Check that the particular image you are interested in is available to you.
In a shell prompt, run: <strong>sudo apt-cache search linux-image | grep <em>version</ em></strong>  In a shell prompt, run: <strong>sudo apt-cache search linux-image | grep <em>&lt;version&gt; </em>-generic</strong>
E.g., sudo apt-cache search linux-image | grep <em>3.19.0-80- generic</em> E.g., sudo apt-cache search linux-image | grep <em>3.19.0-80- generic</em>
</li> </li>
<li> <li>
Install the kernel image you need. You only need the kernel image. Replace <strong><em>< version></em></strong> with the proper version you need.  Install the kernel image you need. You only need the kernel image.
<strong>sudo apt-get install linux-image-< em><version>< /em>-generic</strong>  <strong>sudo apt-get install linux-image-< em>&lt;version&gt; </em>-generic</strong>
  E.g., sudo apt-get install linux-image-3.19.0-80-generic
However, you can choose to install the extras too to be complete.  However, you can choose to install the extras too in order to be complete.
<strong>sudo apt-get install linux-image-< em><version>< /em>-generic linux-image-extra- <em><version> </em>-generic linux-headers- <em><version></em> linux-headers- <em><version> </em>-generic</strong>  <strong>sudo apt-get install linux-image-< em>&lt;version&gt; </em>-generic linux-image-extra- <em>&lt;version&gt; </em>-generic linux-headers- <em>&lt;version&gt;</em> linux-headers- <em>&lt;version&gt;</em>- generic</strong>
  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
  </li>
  <li>
  Reboot into the new kernel (make sure to select it in the GRUB menu on boot - See: <a href="https:/ /askubuntu.com/questions/ 621393/how-to- change-kernel- at-boot">https: //askubuntu.com/ questions/621393/ how-to-change- kernel-at-boot</a>)
</li> </li>
</ol> </ol>

Note: Spaces may be added to comparison text to allow better line wrapping.

No comments yet.

Leave a Reply