Updating Kernel on Ubuntu | Информационные технологии от Вальдемарыча

This article is written for those who were searching for a detailed and simple for the understanding guide on how to update the kernel on Ubuntu.

Open Terminal to check the version of the kernel by using the command:

uname -r

Create a directory in which you will put packages for a ubuntu kernel update by using the command:

mkdir /tmp/kernel

Go to the new directory by using the command:

cd /tmp/kernel

Now open a link http://kernel.ubuntu.com/~kernel-ppa/mainline and chose the desired version of the kernel to which you want to update to.

The article describes kernel update to version 5.2.10.

Next, you need to download the generic or low latency packages.

  • Generic packages are made for common operating system purposes.
  • Low-latency packages are made for the system used for audio and video purposes.

The article describes kernel update for common operating system purposes.

For common operating system purposes, you will need the following packages:

  • The package that contains «linux-headers» and «all» in the naming under the section that corresponds to your processor architecture.
  • The package that contains «linux-headers» and «generic» in the naming under the section that corresponds to your processor architecture.
  • The package that contains «linux-image-unsigned» and «generic» in the naming under the section that corresponds to your processor architecture.
  • The package that contains «linux-modules» and «generic» in the naming under the section that corresponds to your processor architecture.

Download the package that contains «linux-headers» and «all» in the naming under the section that corresponds to your processor architecture by using the command:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.10/linux-headers-5.2.10-050210_5.2.10-050210.201908251538_all.deb

Download the package that contains «linux-headers» and «generic» in the naming under the section that corresponds to your processor architecture by using the command:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.10/linux-headers-5.2.10-050210-generic_5.2.10-050210.201908251538_amd64.deb

Download the package that contains «linux-image-unsigned» and «generic» in the naming under the section that corresponds to your processor architecture by using the command:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.10/linux-image-unsigned-5.2.10-050210-generic_5.2.10-050210.201908251538_amd64.deb

Download the package that contains «linux-modules» and «generic» in the naming under the section that corresponds to your processor architecture by using the command:

wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.10/linux-modules-5.2.10-050210-generic_5.2.10-050210.201908251538_amd64.deb

Now install all downloaded packages by using the command:

sudo dpkg -i *.deb

Provide your password and press «Enter».

Ubuntu kernel successfully updated.

Restart the operating system by using the command:

sudo reboot

Next, open Terminal to check the version of the kernel by using the command:

uname -r

You should see the newer kernel version.

Автор

Я обладаю практическим опытом проектирования и сопровождения различных информационных систем. Не боюсь засучить рукава и запачкать руки, чтобы сделать то, что нужно для достижения результатов, функционально разбивая сложные проблемы на простые решения.

Добавить комментарий

Этот сайт использует Akismet для борьбы со спамом. Узнайте как обрабатываются ваши данные комментариев.