The latest change ubuntu kernel

  1. Https://www.kernel.org to view the latest stable kernel version

  2. Open https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4.6/ (assuming that the latest version is 5.4.6)

    Build for amd64 succeeded (see BUILD.LOG.amd64):
    linux-headers-5.4.6-050406_5.4.6-050406.201912211140_all.deb
    linux-headers-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb
    linux-headers-5.4.6-050406-lowlatency_5.4.6-050406.201912211140_amd64.deb
    linux-image-unsigned-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb
    linux-image-unsigned-5.4.6-050406-lowlatency_5.4.6-050406.201912211140_amd64.deb
    linux-modules-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb
    linux-modules-5.4.6-050406-lowlatency_5.4.6-050406.201912211140_amd64.deb
  3. wget to download the package name in no lowlatency deb package, sudo dpkg -i *** deb and then click Install:

    linux-headers-5.4.6-050406_5.4.6-050406.201912211140_all.deb
    linux-headers-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb
    linux-modules-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb
    linux-image-unsigned-5.4.6-050406-generic_5.4.6-050406.201912211140_amd64.deb
  4. Viewing the kernel is installed

    dpkg -l|grep linux-image | awk '{print $2}'
  5. Delete the old kernel

    apt purge -y 
  6. Update and then restart grub

    update-grub
    reboot
  7. Check whether the replacement is successful

    uname -r

Guess you like

Origin www.cnblogs.com/Ro0kie/p/12117820.html